* better error messages

This commit is contained in:
Reinhard Pointner 2014-03-27 18:26:41 +00:00
parent bd482562e0
commit 9aed2be884
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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$