public final class DecodeException extends IOException implements LocalizableException
| Modifier and Type | Method and Description |
|---|---|
static DecodeException |
error(LocalizableMessage message)
Creates a new non-fatal decode exception with the provided message.
|
static DecodeException |
error(LocalizableMessage message,
Throwable cause)
Creates a new non-fatal decode exception with the provided message and
root cause.
|
static DecodeException |
fatalError(LocalizableMessage message)
Creates a new fatal decode exception with the provided message.
|
static DecodeException |
fatalError(LocalizableMessage message,
Throwable cause)
Creates a new fatal decode exception with the provided message and root
cause.
|
LocalizableMessage |
getMessageObject()
Returns the message that explains the problem that occurred.
|
boolean |
isFatal()
Indicates whether or not the error was fatal and the associated input
source can no longer be used.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static DecodeException error(LocalizableMessage message)
message - The message that explains the problem that occurred.public static DecodeException error(LocalizableMessage message, Throwable cause)
message - The message that explains the problem that occurred.cause - The underlying cause of this exception.public static DecodeException fatalError(LocalizableMessage message)
message - The message that explains the problem that occurred.public static DecodeException fatalError(LocalizableMessage message, Throwable cause)
message - The message that explains the problem that occurred.cause - The underlying cause of this exception.public LocalizableMessage getMessageObject()
getMessageObject in interface LocalizableExceptionpublic boolean isFatal()
true if the error was fatal and the associated input
source can no longer be used, otherwise false .Copyright © 2011-2015 ForgeRock AS. All Rights Reserved.