Class FileErrorModule
java.lang.Object
org.ampere.base.messages.ErrorModule
org.ampere.base.messages.FileErrorModule
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorMessagealreadyExist(String fname) build a Error Message because a file already existsstatic ErrorMessagebuild a Error Message for reporting an error for a missing filestatic ErrorMessagecannotMove(String fname) build a Error Message because it not possible to move the filestatic ErrorMessagecannotPutIntoFileHistory(String fname) build a Error Message for reporting an error be cause the filename contains a semicolon;static ErrorMessagecannotSaveFxFigure(String name) build a Error Message for reporting an error associarted to a filestatic ErrorMessageconcerningDirectory(File dir) build a Error Message for reporting an error associarted to a directorystatic ErrorMessageconcerningFile(File file) build a Error Message for reporting an error associarted to a filestatic ErrorMessageconcerningFile(String fileName) build a Error Message for reporting an error associarted to a filestatic ErrorMessageconcerningFileNameFilter(String filter) build a Error Message for reporting an error associarted to a filestatic ErrorMessageconcerningLine(int line) build a Error Message concerning a line numberstatic ErrorMessageconcerningLine(String line) build a Error Message concerning a linestatic ErrorMessagedirDoesNotExist(File dir) build a Error Message for reporting an error associarted to a filestatic ErrorMessagebuild a Error Message for an empty directorystatic FileErrorModulestatic ErrorMessagebuild a Error Message for a malformed filename filterstatic ErrorMessagebuild a Error Message for reporting an error for a missing filestatic ErrorMessagenoData()build a Error Message for reporting an error for missing datastatic ErrorMessagebuild a Error Message for reporting an error for a missing filestatic ErrorMessagebuild a Error Message when a file is not a directoryMethods inherited from class org.ampere.base.messages.ErrorModule
toString
-
Constructor Details
-
FileErrorModule
-
-
Method Details
-
getSingleton
-
concerningFile
build a Error Message for reporting an error associarted to a file- Parameters:
file- input file- Returns:
- the built error message
-
concerningLine
build a Error Message concerning a line- Parameters:
line- input line- Returns:
- the built error message
-
concerningLine
build a Error Message concerning a line number- Parameters:
line- input line- Returns:
- the built error message
-
concerningDirectory
build a Error Message for reporting an error associarted to a directory- Parameters:
dir- input directory- Returns:
- the built error message
-
emptyDirectory
build a Error Message for an empty directory- Returns:
- the built error message
-
concerningFile
build a Error Message for reporting an error associarted to a file- Parameters:
fileName- input file- Returns:
- the built error message
-
noSuchFile
build a Error Message for reporting an error for a missing file- Returns:
- the built error message
-
noData
build a Error Message for reporting an error for missing data- Returns:
- the built error message
-
cannotCreate
build a Error Message for reporting an error for a missing file- Returns:
- the built error message
-
notAdirectory
build a Error Message when a file is not a directory- Returns:
- the built error message
-
multipleFiles
build a Error Message for reporting an error for a missing file- Returns:
- the built error message
-
dirDoesNotExist
build a Error Message for reporting an error associarted to a file- Parameters:
dir- concerned directory- Returns:
- the built error message
-
cannotSaveFxFigure
build a Error Message for reporting an error associarted to a file- Parameters:
name- figure name- Returns:
- the built error message
-
cannotPutIntoFileHistory
build a Error Message for reporting an error be cause the filename contains a semicolon;- Parameters:
fname- concerned file- Returns:
- the built error message
-
alreadyExist
build a Error Message because a file already exists- Parameters:
fname- concerned file- Returns:
- the built error message
-
cannotMove
build a Error Message because it not possible to move the file- Parameters:
fname- concerned file- Returns:
- the built error message
-
concerningFileNameFilter
build a Error Message for reporting an error associarted to a file- Parameters:
filter- targeted filter- Returns:
- the built error message
-
malformedNameFilter
build a Error Message for a malformed filename filter- Returns:
- the built error message
-