|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
flux.EngineException
flux.file.FileActionException
public class FileActionException
Indicates that an error has occurred in a file action and contains file listings for successful and unsuccessful file operations that occurred before the file action failed.
Constructor Summary | |
---|---|
FileActionException(java.lang.String message,
java.util.Map<java.lang.String,java.lang.String> successfulUrlStrings,
java.util.Map<java.lang.String,java.lang.String> unsuccessfulUrlStrings)
Raises a file action exception. |
|
FileActionException(java.lang.String message,
java.lang.Throwable cause,
java.util.Map<java.lang.String,java.lang.String> successfulUrlStrings,
java.util.Map<java.lang.String,java.lang.String> unsuccessfulUrlStrings)
Raises a file action exception. |
|
FileActionException(java.lang.Throwable cause,
java.util.Map<java.lang.String,java.lang.String> successfulUrlStrings,
java.util.Map<java.lang.String,java.lang.String> unsuccessfulUrlStrings)
Raises a file action exception. |
Method Summary | |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
getSuccessfulFilenames()
Returns source to destination mapping of filenames for which the file action was carried out successfully. |
java.util.Map<java.net.URL,java.net.URL> |
getSuccessfulUrlObjects()
Returns source to destination mapping of URL objects for which the file action was carried out successfully. |
java.util.Map<java.lang.String,java.lang.String> |
getSuccessfulUrlStrings()
URLs of files for which the file action was carried out successfully. |
java.util.Map<java.lang.String,java.lang.String> |
getUnsuccessfulFilenames()
Returns source to destination mapping of filenames for which the file action was not carried out successfully. |
java.util.Map<java.net.URL,java.net.URL> |
getUnsuccessfulUrlObjects()
Returns URLs of files and directories for which the file action was not carried out successfully. |
java.util.Map<java.lang.String,java.lang.String> |
getUnsuccessfulUrlStrings()
URLs of files and directories for which the file action was not carried out successfully. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FileActionException(java.lang.String message, java.util.Map<java.lang.String,java.lang.String> successfulUrlStrings, java.util.Map<java.lang.String,java.lang.String> unsuccessfulUrlStrings)
message
- The reason why the file action exception is
being raised.successfulUrlStrings
- URLs of files for which the file action was
carried out successfully.unsuccessfulUrlStrings
- URLs of files and directories for which the
file action was not carried out
successfully.public FileActionException(java.lang.Throwable cause, java.util.Map<java.lang.String,java.lang.String> successfulUrlStrings, java.util.Map<java.lang.String,java.lang.String> unsuccessfulUrlStrings)
cause
- The cause of the file action exception being
raised.successfulUrlStrings
- URLs of files for which the file action was
carried out successfully.unsuccessfulUrlStrings
- URLs of files and directories for which the
file action was not carried out
successfully.public FileActionException(java.lang.String message, java.lang.Throwable cause, java.util.Map<java.lang.String,java.lang.String> successfulUrlStrings, java.util.Map<java.lang.String,java.lang.String> unsuccessfulUrlStrings)
message
- The reason why the file action exception is
being raised.cause
- The cause of the file action exception being
raised.successfulUrlStrings
- URLs of files for which the file action was
carried out successfully.unsuccessfulUrlStrings
- URLs of files and directories for which the
file action was not carried out
successfully.Method Detail |
---|
public java.util.Map<java.lang.String,java.lang.String> getSuccessfulFilenames()
The keys of the map are the source filenames the file action was performed on and the values of the map are the destination filenames.
This field contains system-dependant absolute paths only for the file protocol (file://), but the "file://" string is not contained in any of the entries in this map. Only system-dependent file paths are contained in this map.
For all non-file protocols, this map contains the same information as the "successful_url_strings" field.
public java.util.Map<java.net.URL,java.net.URL> getSuccessfulUrlObjects()
This field contains the same information as the "successful_url_strings" field, except file names are stored as URL objects, not strings.
The keys of the map are the source URL objects the file action was performed on and the values of the map are the destination URLs.
For all non-file protocols, this map contains the same information as the "successful_url_strings" field.
public java.util.Map<java.lang.String,java.lang.String> getSuccessfulUrlStrings()
This method returns the same information as the "successful_url_objects" field, except file names are stored as strings, not URL objects.
public java.util.Map<java.lang.String,java.lang.String> getUnsuccessfulFilenames()
The keys of the map are the source filenames the file action failed on and the values of the map are the destination filenames.
This field contains system-dependant absolute paths only for the file protocol (file://), but the "file://" string is not contained in any of the entries in this map. Only system-dependent file paths are contained in this map.
For all non-file protocols, this map contains the same information as the "unsuccessful_url_strings" field.
public java.util.Map<java.net.URL,java.net.URL> getUnsuccessfulUrlObjects()
This method returns the same information as the "unsuccessful_url_strings" field, except file names are stored as URL objects, not strings.
public java.util.Map<java.lang.String,java.lang.String> getUnsuccessfulUrlStrings()
This method returns the same information as the "unsuccessful_url_objects" field, except file names are stored as strings, not URL objects.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |