com.ibm.itim.dataservices.model
Class ModelException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.itim.exception.ITIMException
              extended by com.ibm.itim.dataservices.model.ModelException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ModelCommunicationException, ModelCreationException, ModelIntegrityException, ModelModificationException, ModelRemoveException, ObjectNotFoundException, SearchResultsException, URINotUniqueException

public class ModelException
extends ITIMException

ModelException is the base Exception class for all published data model exceptions.

See Also:
Serialized Form

Field Summary
static java.lang.String ATTR_IN_USE
          Deprecated.  
static java.lang.String ATTRIBUTE_IN_USE
          When the system fails to modify an entry because the attribute is in used, this exception key is thrown.
static java.lang.String CREATE_ERROR
          An object could not be created
static java.lang.String DUPLICATE_ENTRY
          If uniqueness for an attribute is enabled for Sun directory server, this exception key is thrown to indicate that entry with the same value already existed in the directory server
static java.lang.String DUPLICATE_URI
           
static java.lang.String ENTRY_ALREADY_EXIST
          If the entry already exists in the directory server, this exception key is thrown.
static java.lang.String INVALID_ARG
          An invalid argument was passed to a method
static java.lang.String INVALID_ATTRIBUTES
          An invalid attribute (or attributes) was provided
static java.lang.String INVALID_CATEGORY
          Invalid Category
static java.lang.String INVALID_DN
          Invalid DN
static java.lang.String INVALID_TARGET_SIZE
           
static java.lang.String INVALID_TARGET_TYPE
           
static java.lang.String INVALID_TARGET_TYPE_FOR_GLOBAL
           
static java.lang.String JNDI_OPERATION_ERROR
          JNDI error
static java.lang.String META_DATA_CORRUPT
           
static java.lang.String META_DATA_INSTANTIATION_ERROR
           
static java.lang.String META_DATA_NOT_FOUND
           
static java.lang.String NULL_USER_ID
           
static java.lang.String OBJECT_NOT_FOUND
          A requested object was not found
static java.lang.String PROFILE_NOT_FOUND
          Could not find a profile
static java.lang.String RELATIONSHIP_NOT_FOUND
          A relationship was not found
static java.lang.String REMOVE_ERROR
          Could not delete an object
static java.lang.String SERVER_NOT_AVAILABLE
          The data server is not available
static java.lang.String TENANT_ID_NOT_FOUND
          No results were found for a requested object
 
Constructor Summary
ModelException(java.lang.String message)
          Constructs an ModelException with a message.
ModelException(java.lang.String msg, java.lang.Object[] tokenValues, java.lang.Throwable throwable)
          Constructs a checked exception with a msg identifier, an array of message parameters, and the original exception or error.
ModelException(java.lang.String msg, java.lang.Throwable throwable)
          Constructs an ModelException with a message and original exception.
 
Method Summary
 
Methods inherited from class com.ibm.itim.exception.ITIMException
getLocalizedMessage, getMessage, getMessage, getMessageId, getThrowable, getTokens, normalize, printStackTrace, printStackTrace, printStackTrace, toXML
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ATTR_IN_USE

public static final java.lang.String ATTR_IN_USE
Deprecated. 
See Also:
Constant Field Values

TENANT_ID_NOT_FOUND

public static final java.lang.String TENANT_ID_NOT_FOUND
No results were found for a requested object

See Also:
Constant Field Values

SERVER_NOT_AVAILABLE

public static final java.lang.String SERVER_NOT_AVAILABLE
The data server is not available

See Also:
Constant Field Values

INVALID_ARG

public static final java.lang.String INVALID_ARG
An invalid argument was passed to a method

See Also:
Constant Field Values

OBJECT_NOT_FOUND

public static final java.lang.String OBJECT_NOT_FOUND
A requested object was not found

See Also:
Constant Field Values

CREATE_ERROR

public static final java.lang.String CREATE_ERROR
An object could not be created

See Also:
Constant Field Values

INVALID_ATTRIBUTES

public static final java.lang.String INVALID_ATTRIBUTES
An invalid attribute (or attributes) was provided

See Also:
Constant Field Values

RELATIONSHIP_NOT_FOUND

public static final java.lang.String RELATIONSHIP_NOT_FOUND
A relationship was not found

See Also:
Constant Field Values

REMOVE_ERROR

public static final java.lang.String REMOVE_ERROR
Could not delete an object

See Also:
Constant Field Values

PROFILE_NOT_FOUND

public static final java.lang.String PROFILE_NOT_FOUND
Could not find a profile

See Also:
Constant Field Values

INVALID_DN

public static final java.lang.String INVALID_DN
Invalid DN

See Also:
Constant Field Values

INVALID_CATEGORY

public static final java.lang.String INVALID_CATEGORY
Invalid Category

See Also:
Constant Field Values

JNDI_OPERATION_ERROR

public static final java.lang.String JNDI_OPERATION_ERROR
JNDI error

See Also:
Constant Field Values

DUPLICATE_ENTRY

public static final java.lang.String DUPLICATE_ENTRY
If uniqueness for an attribute is enabled for Sun directory server, this exception key is thrown to indicate that entry with the same value already existed in the directory server

See Also:
Constant Field Values

DUPLICATE_URI

public static final java.lang.String DUPLICATE_URI
See Also:
Constant Field Values

ENTRY_ALREADY_EXIST

public static final java.lang.String ENTRY_ALREADY_EXIST
If the entry already exists in the directory server, this exception key is thrown.

See Also:
Constant Field Values

ATTRIBUTE_IN_USE

public static final java.lang.String ATTRIBUTE_IN_USE
When the system fails to modify an entry because the attribute is in used, this exception key is thrown.

See Also:
Constant Field Values

NULL_USER_ID

public static final java.lang.String NULL_USER_ID
See Also:
Constant Field Values

META_DATA_NOT_FOUND

public static final java.lang.String META_DATA_NOT_FOUND
See Also:
Constant Field Values

META_DATA_INSTANTIATION_ERROR

public static final java.lang.String META_DATA_INSTANTIATION_ERROR
See Also:
Constant Field Values

META_DATA_CORRUPT

public static final java.lang.String META_DATA_CORRUPT
See Also:
Constant Field Values

INVALID_TARGET_TYPE

public static final java.lang.String INVALID_TARGET_TYPE
See Also:
Constant Field Values

INVALID_TARGET_TYPE_FOR_GLOBAL

public static final java.lang.String INVALID_TARGET_TYPE_FOR_GLOBAL
See Also:
Constant Field Values

INVALID_TARGET_SIZE

public static final java.lang.String INVALID_TARGET_SIZE
See Also:
Constant Field Values
Constructor Detail

ModelException

public ModelException(java.lang.String message)
Constructs an ModelException with a message.

Parameters:
message - String holding a descriptive message about the exception.

ModelException

public ModelException(java.lang.String msg,
                      java.lang.Throwable throwable)
Constructs an ModelException with a message and original exception.

Parameters:
msg - String holding a descriptive message about the exception.
throwable - The original exception that caused the problem.

ModelException

public ModelException(java.lang.String msg,
                      java.lang.Object[] tokenValues,
                      java.lang.Throwable throwable)
Constructs a checked exception with a msg identifier, an array of message parameters, and the original exception or error.

Parameters:
msg - string identifier of error message.
tokenValues - Object[] containing string values for replaceable tokens in the message bundle string.
throwable - originating exception or error.


IBM Security Identity Manager 6.0.0
© Copyright International Business Machines Corporation 2007, 2012. All rights reserved. US Government Users Restricited Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.