Package com.iplanet.sso
Class SSOException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sun.identity.shared.locale.L10NMessageImpl
com.iplanet.sso.SSOException
- All Implemented Interfaces:
com.sun.identity.shared.locale.L10NMessage
,Serializable
- Direct Known Subclasses:
SSOTokenListenersUnsupportedException
This
SSOException
is thrown when there are single sign on token
operation error.- See Also:
-
Constructor Summary
ConstructorDescriptionSSOException
(String msg) Constructs aSSOException
with a detail message.SSOException
(String bundleName, String errCode, Object[] args) Constructs aSSOException
with a detailed localizable error message.SSOException
(String msg, Throwable t) Constructs aSSOException
with a detail message.Constructs aSSOException
with a specified throwable cause and detailed message. -
Method Summary
Modifier and TypeMethodDescriptionReturns the localized message for this exception.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SSOException
Constructs aSSOException
with a detail message.- Parameters:
msg
- The message provided by the object that is throwing the exception.
-
SSOException
Constructs aSSOException
with a detail message.- Parameters:
msg
- The message provided by the object that is throwing the exception.t
- TheThrowable
object provided by the object that is throwing the exception.
-
SSOException
Constructs aSSOException
with a detailed localizable error message.- Parameters:
bundleName
- Resource Bundle Name to be used for getting localized error message.errCode
- Key to resource bundle. You can useResourceBundle rb = ResourceBunde.getBundle (rbName,locale); String localizedStr = rb.getString(errorCode)
args
- Arguments to message. If arguments to the message are not present, pass null.
-
SSOException
Constructs aSSOException
with a specified throwable cause and detailed message.- Parameters:
t
- TheThrowable
object provided by the object that is throwing the exception.
-
-
Method Details
-
getL10NMessage
Returns the localized message for this exception. Default locale is used to retrieve this message from properties file, which is the locale of OS.- Returns:
- the localized message for this exception.
-