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.common.L10NMessage, java.io.Serializable

public class SchemaException
extends SMSException

The SchemaException is thrown if the error encountered is related to the schema.

See Also:
Exception, Throwable, Serialized Form

Fields inherited from class com.sun.identity.sm.SMSException
STATUS_ABORT, STATUS_CONFIG_PROBLEM, STATUS_LDAP_OP_FAILED, STATUS_NO_PERMISSION, STATUS_NONE, STATUS_QUO_ANTE, STATUS_REPEATEDLY_FAILED, STATUS_RETRY, STATUS_UNKNOWN_EXCEPTION
 
Constructor Summary
SchemaException()
          Constructs an SchemaException with no specified detail message.
SchemaException(java.lang.String s)
          Constructs an SchemaException with the specified detail message.
SchemaException(java.lang.String rbName, java.lang.String errorCode, java.lang.Object[] args)
          Constructs an SchemaException with the specified error code.
 
Methods inherited from class com.sun.identity.sm.SMSException
getErrorCode, getExceptionCode, getL10NMessage, getMessage, getMessageArgs, getResourceBundleName, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SchemaException

public SchemaException()
Constructs an SchemaException with no specified detail message.

SchemaException

public SchemaException(java.lang.String s)
Constructs an SchemaException with the specified detail message.
Parameters:
s - the detail message.

SchemaException

public SchemaException(java.lang.String rbName,
                       java.lang.String errorCode,
                       java.lang.Object[] args)
Constructs an SchemaException 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 for ResourceBundle.getString() to locate error message
args - any arguments to be used for error message formatting getMessage() will construct error message using English resource bundle.


Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.