|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.jaxfront.core.dom.DocumentCreationException
public class DocumentCreationException
Indicates an exception during the creation of a JAXFront document.
| 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 |
|---|
public static final int WRONG_XUI_VERSION
| Constructor Detail |
|---|
public DocumentCreationException(java.lang.Exception e)
e - occured exception
public DocumentCreationException(java.lang.Exception e,
boolean isSevere)
e - occured exceptionisSevere - indicates if exception is severepublic DocumentCreationException(java.lang.String message)
message - error messagepublic DocumentCreationException(java.lang.Throwable t)
| Method Detail |
|---|
public FingerPrint getFingerprint()
public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic java.lang.Exception getOccuredException()
public int getType()
public boolean isSevere()
public static DocumentCreationException wrongXUIVersion(java.lang.Exception e,
FingerPrint fingerprint)
e - occured exceptionfingerprint - FingerPrint information for a xui definition
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||