com.iplanet.sso
Class SSOException
com.iplanet.sso.SSOException
- public class SSOException
An SSOException
is thrown when there are errors related to
SSOToken operations.
Constructor Summary |
SSOException(java.lang.String msg)
Constructs an instance of the SSOException class. |
SSOException(java.lang.String bundleName,
java.lang.String errCode,
java.lang.Object[] args)
Constructs an instance of the SSOException class
with localizable error message |
SSOException(java.lang.Throwable t)
Constructs an instance of the SSOException class. |
Method Summary |
java.lang.String |
getL10NMessage()
Returns the localized message for this exception. |
SSOException
public SSOException(java.lang.String msg)
- Constructs an instance of the
SSOException
class.
- Parameters:
msg
- The message provided by the object that is throwing the
exception.
SSOException
public SSOException(java.lang.String bundleName,
java.lang.String errCode,
java.lang.Object[] args)
- Constructs an instance of the
SSOException
class
with localizable error message
- Parameters:
rbName
- ResourceBundle Name to be used for getting
localized error message.errorCode
- Key to resource bundle. You can use
ResourceBundle 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
public SSOException(java.lang.Throwable t)
- Constructs an instance of the
SSOException
class.
- Parameters:
The
- throwable object provided by the object that is throwing
the exception.
getL10NMessage
public java.lang.String 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.