public class LocalizedIllegalArgumentException extends IllegalArgumentException implements LocalizableException
A LocalizedIllegalArgumentException contains a localized error
message which may be used to provide the user with detailed diagnosis
information. The localized message can be retrieved using the
getMessageObject() method.
| Constructor and Description |
|---|
LocalizedIllegalArgumentException(LocalizableMessage message)
Creates a new localized illegal argument exception with the provided
message.
|
LocalizedIllegalArgumentException(LocalizableMessage message,
Throwable cause)
Creates a new localized illegal argument exception with the provided
message and cause.
|
| Modifier and Type | Method and Description |
|---|---|
LocalizableMessage |
getMessageObject()
Returns the localizable message that explains the problem that occurred.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic LocalizedIllegalArgumentException(LocalizableMessage message)
message - The message that explains the problem that occurred.public LocalizedIllegalArgumentException(LocalizableMessage message, Throwable cause)
message - The message that explains the problem that occurred.cause - The cause which may be later retrieved by the
Throwable.getCause() method. A null value is permitted,
and indicates that the cause is nonexistent or unknown.public final LocalizableMessage getMessageObject()
getMessageObject in interface LocalizableExceptionCopyright © 2025 Open Identity Platform Community. All rights reserved.