com.ibm.itim.apps
Class SchemaViolationException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.ibm.itim.exception.ITIMException
                    |
                    +--com.ibm.itim.apps.ApplicationException
                          |
                          +--com.ibm.itim.apps.SchemaViolationException
All Implemented Interfaces:
java.io.Serializable

public class SchemaViolationException
extends ApplicationException

General exception for LDAP schema violations such as invalid syntax or missing required attribute errors.

See Also:
Serialized Form

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

REQUIRED_ATTR_MISSING

public static final java.lang.String REQUIRED_ATTR_MISSING
String constant for a missing required attribute error.

See Also:
Constant Field Values

SCHEMA_VIOLATION

public static final java.lang.String SCHEMA_VIOLATION
String constant for a schema violation error.

See Also:
Constant Field Values
Constructor Detail

SchemaViolationException

public SchemaViolationException(java.lang.String errCode)
Constructs with an error code.

Parameters:
errCode - Code for the error.

SchemaViolationException

public SchemaViolationException(java.lang.String errCode,
                                java.lang.Throwable cause)
Constructs with an error code and the cause exception.

Parameters:
errCode - Error code identifying the problem.
cause - Throwable representing the exception causing this exception.

SchemaViolationException

public SchemaViolationException(java.lang.String errCode,
                                java.lang.Object[] tokens,
                                java.lang.Throwable cause)
Constructs with an error code, message tokens, and the cause exception.

Parameters:
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.

SchemaViolationException

public SchemaViolationException(java.lang.String errCode,
                                java.util.Collection collection)
Constructs with an error code and Collection of String of missing attribute(s) name.

Parameters:
errCode - Error code identifying the problem.
collection - Collection of String of missing attribute name(s).
Method Detail

getViolationAttrs

public java.util.Collection getViolationAttrs()
Returns a Collection of String that are the attribute names of attributes that violate the schema.

Returns:
Collection of String of attribute name(s) found to violate the schema.


IBM Tivoli Identity Manager 4.6
© Copyright International Business Machines Corporation 2005. All rights reserved. US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.