Serializable
, ErrorCodeAccessor
, Trap
public class UnmarshalException extends AbstractException
ErrorCodeAccessor.ErrorCodeBuilder<B extends ErrorCodeAccessor.ErrorCodeBuilder<B>>, ErrorCodeAccessor.ErrorCodeMutator, ErrorCodeAccessor.ErrorCodeProperty
Constructor | Description |
---|---|
UnmarshalException(String aMessage) |
Instantiates a new unmarshal exception.
|
UnmarshalException(String aMessage,
int aOffset) |
Instantiates a new unmarshal exception.
|
UnmarshalException(String aMessage,
int aOffset,
Throwable aCause) |
Instantiates a new unmarshal exception.
|
UnmarshalException(String aMessage,
String aErrorCode) |
Instantiates a new unmarshal exception.
|
UnmarshalException(String message,
Throwable cause) |
Instantiates a new unmarshal exception.
|
UnmarshalException(String aMessage,
Throwable aCause,
String aErrorCode) |
Instantiates a new unmarshal exception.
|
UnmarshalException(Throwable cause) |
Instantiates a new unmarshal exception.
|
UnmarshalException(Throwable aCause,
String aErrorCode) |
Instantiates a new unmarshal exception.
|
Modifier and Type | Method | Description |
---|---|---|
int |
getOffset() |
In case of a char sequence, the offset represents the position at which
unmarshaling failed.
|
getErrorCode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnmarshalException(String aMessage)
aMessage
- the messagepublic UnmarshalException(String aMessage, int aOffset, Throwable aCause)
aMessage
- The exception message.aOffset
- The offset in the char sequence causing problems.aCause
- The originating exception in question.public UnmarshalException(String aMessage, int aOffset)
aMessage
- the messageaOffset
- The offset in the char sequence causing problems.public UnmarshalException(String message, Throwable cause)
message
- the messagecause
- the causepublic UnmarshalException(Throwable cause)
cause
- the causepublic UnmarshalException(String aMessage, String aErrorCode)
aMessage
- the messageaErrorCode
- the error codepublic UnmarshalException(String aMessage, Throwable aCause, String aErrorCode)
aMessage
- the messageaCause
- the causeaErrorCode
- the error codeCopyright © 2021. All rights reserved.