|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--com.ibm.itim.exception.ITIMException | +--com.ibm.itim.apps.ApplicationException | +--com.ibm.itim.apps.SchemaViolationException
General exception for LDAP schema violations such as invalid syntax or missing required attribute errors.
Field Summary | |
---|---|
static java.lang.String |
REQUIRED_ATTR_MISSING
String constant for a missing required attribute error. |
static java.lang.String |
SCHEMA_VIOLATION
String constant for a schema violation error. |
Constructor Summary | |
---|---|
SchemaViolationException(java.lang.String errCode)
Constructs with an error code. |
|
SchemaViolationException(java.lang.String errCode,
java.util.Collection collection)
Constructs with an error code and Collection of String of missing attribute(s) name. |
|
SchemaViolationException(java.lang.String errCode,
java.lang.Object[] tokens,
java.lang.Throwable cause)
Constructs with an error code, message tokens, and the cause exception. |
|
SchemaViolationException(java.lang.String errCode,
java.lang.Throwable cause)
Constructs with an error code and the cause exception. |
Method Summary | |
---|---|
java.util.Collection |
getViolationAttrs()
Returns a Collection of String that are the attribute names of attributes that violate the schema. |
Methods inherited from class com.ibm.itim.apps.ApplicationException |
---|
getErrorCode, getExtraMessage |
Methods inherited from class com.ibm.itim.exception.ITIMException |
---|
getLocalizedMessage, getMessage, getMessage, getMessageId, getThrowable, getTokens, normalize, toXML |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String REQUIRED_ATTR_MISSING
public static final java.lang.String SCHEMA_VIOLATION
Constructor Detail |
public SchemaViolationException(java.lang.String errCode)
errCode
- Code for the error.public SchemaViolationException(java.lang.String errCode, java.lang.Throwable cause)
errCode
- Error code identifying the problem.cause
- Throwable representing the exception causing this exception.public SchemaViolationException(java.lang.String errCode, java.lang.Object[] tokens, java.lang.Throwable cause)
errCode
- Error code identifying the problem.tokens
- Object[] containing string values for replaceable tokens
in the message bundle string.cause
- Throwable representing the exception causing this exception.public SchemaViolationException(java.lang.String errCode, java.util.Collection collection)
errCode
- Error code identifying the problem.collection
- Collection of String of missing attribute name(s).Method Detail |
public java.util.Collection getViolationAttrs()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |