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
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 java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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 messageargs
- any arguments to be used for error message formatting
getMessage()
will construct error message using
English resource bundle.