com.jaxfront.core.dom
Class DocumentCreationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.jaxfront.core.dom.DocumentCreationException
All Implemented Interfaces:
java.io.Serializable

public class DocumentCreationException
extends java.lang.Exception

Indicates an exception during the creation of a JAXFront document.

Version:
1.60
See Also:
Serialized Form

Field Summary
static int WRONG_XUI_VERSION
           
 
Constructor Summary
DocumentCreationException(java.lang.Exception e)
          Creates a DocumentCreationException based on a occured exception (nested exception)
DocumentCreationException(java.lang.Exception e, boolean isSevere)
          Creates a DocumentCreationException based on a occured exception (nested exception) and a flag if the exception is severe.
DocumentCreationException(java.lang.String message)
           
DocumentCreationException(java.lang.Throwable t)
           
 
Method Summary
 FingerPrint getFingerprint()
          Returns the fingerprint information if available.
 java.lang.String getMessage()
          Returns the error message text.
 java.lang.Exception getOccuredException()
          Returns the nested exceptionö if any.
 int getType()
          Returns the type of the occured excption. 1 = WRONG XUI VERSION
 boolean isSevere()
          Indicates if the occured exception is severe.
static DocumentCreationException wrongXUIVersion(java.lang.Exception e, FingerPrint fingerprint)
          Factory method for creating a DocumentCreationException if xui file has been loaded with the wrong version number.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

WRONG_XUI_VERSION

public static final int WRONG_XUI_VERSION
See Also:
Constant Field Values
Constructor Detail

DocumentCreationException

public DocumentCreationException(java.lang.Throwable t)

DocumentCreationException

public DocumentCreationException(java.lang.Exception e)
Creates a DocumentCreationException based on a occured exception (nested exception)

Parameters:
e - occured exception

DocumentCreationException

public DocumentCreationException(java.lang.Exception e,
                                 boolean isSevere)
Creates a DocumentCreationException based on a occured exception (nested exception) and a flag if the exception is severe.

Parameters:
e - occured exception
isSevere - indicates if exception is severe

DocumentCreationException

public DocumentCreationException(java.lang.String message)
Parameters:
message - error message
Method Detail

getFingerprint

public FingerPrint getFingerprint()
Returns the fingerprint information if available.


getMessage

public java.lang.String getMessage()
Returns the error message text.

Overrides:
getMessage in class java.lang.Throwable

getOccuredException

public java.lang.Exception getOccuredException()
Returns the nested exceptionö if any.


getType

public int getType()
Returns the type of the occured excption. 1 = WRONG XUI VERSION


isSevere

public boolean isSevere()
Indicates if the occured exception is severe.


wrongXUIVersion

public static DocumentCreationException wrongXUIVersion(java.lang.Exception e,
                                                        FingerPrint fingerprint)
Factory method for creating a DocumentCreationException if xui file has been loaded with the wrong version number.

Parameters:
e - occured exception
fingerprint - FingerPrint information for a xui definition