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)
Creates a new MarshalException with the given message.
|
MarshalException(String message,
Throwable exception)
Creates a new MarshalException with the given message
and nested exception.
|
MarshalException(String message,
Throwable exception,
int errorCode)
Creates a new MarshalException with the given message,
nested exception, and errorCode.
|
MarshalException(Throwable exception)
Creates a new MarshalException with the given nested
exception.
|
getErrorCode, setErrorCode, setLocation, toString
getCause, getMessage, initCause, printStackTrace, printStackTrace, printStackTrace
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, setStackTrace
public static final String BASE_CLASS_OR_VOID_ERR
public static final String NON_SERIALIZABLE_ERR
public MarshalException()
public MarshalException(String message)
message
- the message for this Exceptionpublic MarshalException(String message, int errorCode)
message
- the message for this ExceptionerrorCode
- the errorCode for this Exceptionpublic MarshalException(Throwable exception)
exception
- the nested exceptionpublic MarshalException(String message, Throwable exception)
message
- the detail message for this exceptionexception
- the nested exceptionpublic MarshalException(String message, Throwable exception, int errorCode)
message
- the detail message for this exceptionexception
- the nested exceptionerrorCode
- the errorCode for this ExceptionCopyright © 2014. All rights reserved.