public class SAML2MetaException extends SAML2Exception
Constructor and Description |
---|
SAML2MetaException(String message)
Constructs a new
SAML2MetaException with the given
message. |
SAML2MetaException(String errorCode,
Object[] args)
Constructs a new
SAML2MetaException without a nested
Throwable using default resource bundle. |
SAML2MetaException(String rbName,
String errorCode,
Object[] args)
Constructs a new
SAML2MetaException without a nested
Throwable . |
SAML2MetaException(Throwable t)
Constructs an
SAML2MetaException with given
Throwable . |
isRedirectionDone, setRedirectionDone
getErrorCode, getL10NMessage, getMessage, getMessageArgs, getResourceBundleName
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public SAML2MetaException(String errorCode, Object[] args)
SAML2MetaException
without a nested
Throwable
using default resource bundle.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 nullpublic SAML2MetaException(String rbName, String errorCode, Object[] args)
SAML2MetaException
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 nullpublic SAML2MetaException(String message)
SAML2MetaException
with the given
message.message
- message for this exception. This message can be later
retrieved by getMessage()
method.public SAML2MetaException(Throwable t)
SAML2MetaException
with given
Throwable
.t
- Exception nested in the new exception.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.