Package com.sun.identity.federation.meta
Class IDFFMetaException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.sun.identity.shared.locale.L10NMessageImpl
-
- com.sun.identity.federation.meta.IDFFMetaException
-
- All Implemented Interfaces:
L10NMessage,Serializable
public class IDFFMetaException extends L10NMessageImpl
This class handles IDFF Metadata related exceptions.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IDFFMetaException(Exception ex)Constructs aIDFFMetaExceptionwith an exception.IDFFMetaException(String message)Constructs aIDFFMetaExceptionwith a detailed message.IDFFMetaException(String errorCode, Object[] args)Constructs a newIDFFMetaExceptionwithout a nestedThrowable.IDFFMetaException(String rbName, String errorCode, Object[] args)Constructs a newIDFFMetaExceptionwithout a nestedThrowable.IDFFMetaException(Throwable rootCause)Constructs aIDFFMetaExceptionwith an embedded exception.
-
Method Summary
-
Methods inherited from class com.sun.identity.shared.locale.L10NMessageImpl
getErrorCode, getL10NMessage, getMessage, getMessageArgs, getResourceBundleName
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
IDFFMetaException
public IDFFMetaException(String message)
Constructs aIDFFMetaExceptionwith a detailed message.- Parameters:
message- detailed message for this exception.
-
IDFFMetaException
public IDFFMetaException(Throwable rootCause)
Constructs aIDFFMetaExceptionwith an embedded exception.- Parameters:
rootCause- An embedded exception
-
IDFFMetaException
public IDFFMetaException(Exception ex)
Constructs aIDFFMetaExceptionwith an exception.- Parameters:
ex- an exception
-
IDFFMetaException
public IDFFMetaException(String errorCode, Object[] args)
Constructs a newIDFFMetaExceptionwithout a nestedThrowable.- Parameters:
errorCode- Key to resource bundle. The following can be used:ResourceBundle rb = ResourceBunde.getBundle (rbName,locale); String localizedStr = rb.getString(errorCode);
args- arguments to the message.
-
IDFFMetaException
public IDFFMetaException(String rbName, String errorCode, Object[] args)
Constructs a newIDFFMetaExceptionwithout a nestedThrowable.- Parameters:
rbName- Resource Bundle Name to be used for getting localized error message.errorCode- Key to resource bundle. The following can be used:ResourceBundle rb = ResourceBunde.getBundle (rbName,locale); String localizedStr = rb.getString(errorCode);
args- arguments to the message.
-
-