public class SSOException extends L10NMessageImpl
SSOException
is thrown when there are single sign on token
operation error.Constructor and Description |
---|
SSOException(String msg)
Constructs a
SSOException with a detail message. |
SSOException(String bundleName,
String errCode,
Object[] args)
Constructs a
SSOException with a detailed localizable error
message. |
SSOException(String msg,
Throwable t)
Constructs a
SSOException with a detail message. |
SSOException(Throwable t)
Constructs a
SSOException with a specified throwable cause
and detailed message. |
Modifier and Type | Method and Description |
---|---|
String |
getL10NMessage()
Returns the localized message for this exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public SSOException(String msg)
SSOException
with a detail message.msg
- The message provided by the object that is throwing the
exception.public SSOException(String msg, Throwable t)
SSOException
with a detail message.msg
- The message provided by the object that is throwing the exception.t
- The Throwable
object provided by the object that is throwing the exception.public SSOException(String bundleName, String errCode, Object[] args)
SSOException
with a detailed localizable error
message.bundleName
- Resource Bundle Name to be used for getting
localized error message.errCode
- 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.public SSOException(Throwable t)
SSOException
with a specified throwable cause
and detailed message.t
- The Throwable
object provided by the object that is
throwing the exception.public String getL10NMessage()
Copyright © 2010-2018, ForgeRock All Rights Reserved.