public class MarshalException extends XMLException
| Modifier and Type | Field and Description |
|---|---|
static String |
BASE_CLASS_OR_VOID_ERR |
static String |
NON_SERIALIZABLE_ERR |
| Constructor and Description |
|---|
MarshalException()
Creates a new
MarshalException with no message or nested exception. |
MarshalException(String message)
Creates a new
MarshalException with the given message. |
MarshalException(String message,
int errorCode)
Deprecated.
|
MarshalException(String message,
Throwable exception)
Creates a new
MarshalException with the given message and nested exception. |
MarshalException(String message,
Throwable exception,
int errorCode)
Deprecated.
|
MarshalException(Throwable exception)
Creates a new
MarshalException with the given nested exception. |
getErrorCode, setErrorCode, setLocation, toStringaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic static final String BASE_CLASS_OR_VOID_ERR
public static final String NON_SERIALIZABLE_ERR
public MarshalException()
MarshalException with no message or nested exception.public MarshalException(String message)
MarshalException with the given message.message - the message for this exceptionpublic MarshalException(String message, int errorCode)
MarshalException with the given message and an error code.message - the message for this exceptionerrorCode - the error code for this exceptionpublic MarshalException(Throwable exception)
MarshalException with the given nested exception.exception - the nested exceptionpublic MarshalException(String message, Throwable exception)
MarshalException with the given message and nested exception.message - the detail message for this exceptionexception - the nested exceptionpublic MarshalException(String message, Throwable exception, int errorCode)
MarshalException with the given message, nested exception, and error
code.message - the detail message for this exceptionexception - the nested exceptionerrorCode - the error code for this ExceptionCopyright © 2016. All rights reserved.