Package fmpp

Class 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.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, 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