Package org.forgerock.opendj.security
Class LocalizedSaslException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
javax.security.sasl.SaslException
org.forgerock.opendj.security.LocalizedSaslException
- All Implemented Interfaces:
Serializable,LocalizableException
A localized
SaslException.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLocalizedSaslException(LocalizableMessage message) Creates a new localized SASL exception with the provided message.LocalizedSaslException(LocalizableMessage message, Throwable cause) Creates a new localized SASL exception with the provided message and cause. -
Method Summary
Modifier and TypeMethodDescriptionPrevent costly stack traces from being created because they are not useful for this type of exception.Returns the localizable message that explains the problem that occurred.Methods inherited from class javax.security.sasl.SaslException
getCause, initCause, toStringMethods inherited from class java.lang.Throwable
addSuppressed, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
LocalizedSaslException
Creates a new localized SASL exception with the provided message.- Parameters:
message- the message
-
LocalizedSaslException
Creates a new localized SASL exception with the provided message and cause.- Parameters:
message- the messagecause- the cause
-
-
Method Details
-
fillInStackTrace
Prevent costly stack traces from being created because they are not useful for this type of exception.- Overrides:
fillInStackTracein classThrowable
-
getMessageObject
Description copied from interface:LocalizableExceptionReturns the localizable message that explains the problem that occurred.- Specified by:
getMessageObjectin interfaceLocalizableException- Returns:
- The localizable message that explains the problem that occurred.
-