Package fmpp
Class ProcessingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- fmpp.util.ExceptionCC
-
- fmpp.ProcessingException
-
- All Implemented Interfaces:
java.io.Serializable
public class ProcessingException extends ExceptionCC
Error while performing the processing session.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProcessingException(Engine e, java.io.File sourceFile, java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMessage()
Returns always the same text: "FMPP processing session failed."java.io.File
getSourceFile()
Returns the source file the faliure relates to.java.io.File
getSourceRoot()
Returns the "sourceRoot" used during the processing session that failed.
-
-
-
Constructor Detail
-
ProcessingException
public ProcessingException(Engine e, java.io.File sourceFile, java.lang.Throwable cause)
- Parameters:
sourceFile
- can benull
.
-
-
Method Detail
-
getSourceFile
public java.io.File getSourceFile()
Returns the source file the faliure relates to. This is an absolute file (not relative). It'snull
if no such information is available.
-
getSourceRoot
public java.io.File getSourceRoot()
Returns the "sourceRoot" used during the processing session that failed. It's maybenull
, but only ifgetSourceFile()
returnsnull
too.
-
getMessage
public java.lang.String getMessage()
Returns always the same text: "FMPP processing session failed."- Overrides:
getMessage
in classjava.lang.Throwable
-
-