Package com.sun.identity.sm
Class InvalidAttributeValueException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.sun.identity.sm.SMSException
-
- com.sun.identity.sm.InvalidAttributeValueException
-
- All Implemented Interfaces:
L10NMessage,Serializable
public class InvalidAttributeValueException extends SMSException
- See Also:
Exception,Throwable, Serialized Form
-
-
Field Summary
-
Fields inherited from class com.sun.identity.sm.SMSException
STATUS_ABORT, STATUS_CONFIG_PROBLEM, STATUS_LDAP_OP_FAILED, STATUS_NO_PERMISSION, STATUS_NONE, STATUS_NOT_ALLOW, STATUS_QUO_ANTE, STATUS_REPEATEDLY_FAILED, STATUS_RETRY, STATUS_UNKNOWN_EXCEPTION
-
-
Constructor Summary
Constructors Constructor Description InvalidAttributeValueException()Constructs anInvalidAttributeValueExceptionwith no specified detail message.InvalidAttributeValueException(String s)Constructs anInvalidAttributeValueExceptionwith the specified detail message.InvalidAttributeValueException(String rbName, String errorCode, Object[] args)Constructs anInvalidAttributeValueExceptionwith the specified error code.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetL10NMessage(Locale locale)Returns a localized error message-
Methods inherited from class com.sun.identity.sm.SMSException
getErrorCode, getExceptionCode, getMessage, getMessageArgs, getResourceBundleName, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
InvalidAttributeValueException
public InvalidAttributeValueException()
Constructs anInvalidAttributeValueExceptionwith no specified detail message.
-
InvalidAttributeValueException
public InvalidAttributeValueException(String s)
Constructs anInvalidAttributeValueExceptionwith the specified detail message.- Parameters:
s- the detail message.
-
InvalidAttributeValueException
public InvalidAttributeValueException(String rbName, String errorCode, Object[] args)
Constructs anInvalidAttributeValueExceptionwith the specified error code. It can be used to pass localized error message.- Parameters:
rbName- Resource Bundle name where localized error message is located.errorCode- error code or message id to be used forResourceBundle.getString()to locate error messageargs- any arguments to be used for error message formattinggetMessage()will construct error message using English resource bundle.
-
-
Method Detail
-
getL10NMessage
public String getL10NMessage(Locale locale)
Returns a localized error message- Specified by:
getL10NMessagein interfaceL10NMessage- Overrides:
getL10NMessagein classSMSException- Parameters:
locale- Uses the locale object to create the appropriate localized error message- Returns:
- localized error message.
- See Also:
SMSException(String, String, Object[])
-
-