fmpp
Class ProcessingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by fmpp.util.ExceptionCC
              extended by 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
ProcessingException(Engine e, java.io.File sourceFile, java.lang.Throwable cause)
           
 
Method Summary
 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.
 
Methods inherited from class fmpp.util.ExceptionCC
getCause, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProcessingException

public ProcessingException(Engine e,
                           java.io.File sourceFile,
                           java.lang.Throwable cause)
Parameters:
sourceFile - can be null.
Method Detail

getSourceFile

public java.io.File getSourceFile()
Returns the source file the faliure relates to. This is an absolute file (not relative). It's null if no such information is available.


getSourceRoot

public java.io.File getSourceRoot()
Returns the "sourceRoot" used during the processing session that failed. It's maybe null, but only if getSourceFile() returns null too.


getMessage

public java.lang.String getMessage()
Returns always the same text: "FMPP processing session failed."

Overrides:
getMessage in class java.lang.Throwable