public class SAMLException extends L10NMessageImpl
Constructor and Description |
---|
SAMLException(String s)
Constructs an
SAMLException with a message. |
SAMLException(String rbName,
String errorCode,
Object[] args)
Constructs a new
SAMLException without a nested
Throwable . |
SAMLException(Throwable t)
Constructs an
SAMLException with given
Throwable . |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public SAMLException(String s)
SAMLException
with a message.s
- exception message.public SAMLException(Throwable t)
SAMLException
with given
Throwable
.t
- Exception nested in the new exception.public SAMLException(String rbName, String errorCode, Object[] args)
SAMLException
without a nested
Throwable
.rbName
- Resource Bundle 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 it is not present pass them
as nullCopyright © 2010-2018, ForgeRock All Rights Reserved.