* better error messages
This commit is contained in:
parent
bd482562e0
commit
9aed2be884
|
@ -553,7 +553,7 @@ public class CmdlineOperations implements CmdlineInterface {
|
||||||
|
|
||||||
public List<File> renameAll(Map<File, File> renameMap, RenameAction renameAction, ConflictAction conflictAction, List<Match<File, ?>> matches) throws Exception {
|
public List<File> renameAll(Map<File, File> renameMap, RenameAction renameAction, ConflictAction conflictAction, List<Match<File, ?>> matches) throws Exception {
|
||||||
if (renameMap.isEmpty()) {
|
if (renameMap.isEmpty()) {
|
||||||
throw new Exception(format("[%s] Unable to process any files", renameAction));
|
throw new Exception("Unable to identify and process any files");
|
||||||
}
|
}
|
||||||
|
|
||||||
// rename files
|
// rename files
|
||||||
|
|
|
@ -47,6 +47,7 @@
|
||||||
^Downloading$
|
^Downloading$
|
||||||
^Downloads$
|
^Downloads$
|
||||||
^Dropbox$
|
^Dropbox$
|
||||||
|
^emule$
|
||||||
^Entertainment$
|
^Entertainment$
|
||||||
^Episode$
|
^Episode$
|
||||||
^Erotic$
|
^Erotic$
|
||||||
|
@ -110,6 +111,7 @@
|
||||||
^Serier$
|
^Serier$
|
||||||
^Series$
|
^Series$
|
||||||
^share$
|
^share$
|
||||||
|
^shared$
|
||||||
^sort$
|
^sort$
|
||||||
^sorted$
|
^sorted$
|
||||||
^SortedMedia$
|
^SortedMedia$
|
||||||
|
|
Loading…
Reference in New Issue