com.xml_project.morganaxproc
Class XProcCompiler.XProcCompilerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.xml_project.morganaxproc.core.XProcException
              extended by com.xml_project.morganaxproc.XProcCompiler.XProcCompilerException
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
XProcCompiler

public class XProcCompiler.XProcCompilerException
extends com.xml_project.morganaxproc.core.XProcException

An Exception thrown when a compilation error has occurred calling compile

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.xml_project.morganaxproc.core.XProcException
MOX_S0001, MOX_S0002, MOX_S0003, MOX_S0004, MOX_S0005, NOT_IMPLEMENTED, XD0001, XD0003, XD0004, XD0005, XD0006, XD0007, XD0008, XD0009, XD0010, XD0011, XD0012, XD0013, XD0014, XD0015, XD0016, XD0017, XD0018, XD0019, XD0020, XD0021, XD0022, XD0023, XD0025, XD0026, XD0027, XD0028, XD0029, XD0030, XD0031, XD0033, XD0034, XD1001, XG0001, XS0001, XS0002, XS0003, XS0004, XS0005, XS0006, XS0007, XS0008, XS0009, XS0010, XS0011, XS0014, XS0015, XS0017, XS0018, XS0019, XS0020, XS0022, XS0024, XS0025, XS0026, XS0027, XS0028, XS0029, XS0030, XS0031, XS0032, XS0033, XS0034, XS0035, XS0036, XS0037, XS0038, XS0039, XS0040, XS0041, XS0042, XS0044, XS0048, XS0051, XS0052, XS0053, XS0055, XS0057, XS0058, XS0059, XS0061, XS0062, XS0063, XS1003, XS2001
 
Constructor Summary
protected XProcCompiler.XProcCompilerException(nu.xom.ParsingException ex)
           
protected XProcCompiler.XProcCompilerException(java.lang.String message)
           
protected XProcCompiler.XProcCompilerException(java.lang.String message, nu.xom.Document errorDocument)
           
protected XProcCompiler.XProcCompilerException(XProcFilesystem.DefectiveURIException ex)
           
 
Method Summary
 nu.xom.Document getErrorDocument()
           Return the xml document describing the error(s) occurred.
 java.lang.String getErrorDocumentSerialized()
          Returns a serialized version of the document describing the error(s) occurred.
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XProcCompiler.XProcCompilerException

protected XProcCompiler.XProcCompilerException(java.lang.String message,
                                               nu.xom.Document errorDocument)

XProcCompiler.XProcCompilerException

protected XProcCompiler.XProcCompilerException(java.lang.String message)

XProcCompiler.XProcCompilerException

protected XProcCompiler.XProcCompilerException(XProcFilesystem.DefectiveURIException ex)

XProcCompiler.XProcCompilerException

protected XProcCompiler.XProcCompilerException(nu.xom.ParsingException ex)
Method Detail

getErrorDocument

public nu.xom.Document getErrorDocument()

Return the xml document describing the error(s) occurred.

Returns:
xml document describing the error(s).

getErrorDocumentSerialized

public java.lang.String getErrorDocumentSerialized()
Returns a serialized version of the document describing the error(s) occurred.

Returns:
a string with the serialized error document.