Package com.sun.identity.sm
Class SchemaException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sun.identity.sm.SMSException
com.sun.identity.sm.SchemaException
- All Implemented Interfaces:
com.sun.identity.shared.locale.L10NMessage
,Serializable
The
SchemaException
is thrown if the error encountered is
related to the schema.- See Also:
-
Field Summary
Fields inherited from class com.sun.identity.sm.SMSException
SMS_ADMIN_LIMIT_EXCEEDED, SMS_AUTHENTICATION_ERROR, SMS_INSUFFICIENT_ACCESS_RIGHTS, SMS_LDAP_NOT_SUPPORTED, SMS_LDAP_OPERATION_FAILED, SMS_LDAP_REFERRAL_EXCEPTION, SMS_LDAP_SERVER_BUSY, SMS_NO_SUCH_OBJECT, SMS_SERVER_DOWN, SMS_TIME_LIMIT_EXCEEDED, SMS_UNEXPECTED_LDAP_EXCEPTION, SMS_UNKNOWN_EXCEPTION_OCCURRED, SMS_XML_PARSER_EXCEPTION, 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
ConstructorDescriptionConstructs anSchemaException
with no specified detail message.Constructs anSchemaException
with the specified detail message.SchemaException
(String rbName, String errorCode, Object[] args) Constructs anSchemaException
with the specified error code. -
Method Summary
Methods inherited from class com.sun.identity.sm.SMSException
getErrorCode, getExceptionCode, getL10NMessage, getMessage, getMessageArgs, getResourceBundleName, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
SchemaException
public SchemaException()Constructs anSchemaException
with no specified detail message. -
SchemaException
Constructs anSchemaException
with the specified detail message.- Parameters:
s
- the detail message.
-
SchemaException
Constructs anSchemaException
with 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.
-