com.ibm.itim.dataservices.model
Class ModelException

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

public class ModelException
extends ITIMException

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

Author:
Tony Gullotta
See Also:
Serialized Form

Field Summary
static java.lang.String ATTR_IN_USE
          Deprecated.  
static java.lang.String CREATE_ERROR
          Deprecated.  
static java.lang.String DUPLICATE_ENTRY
          Deprecated.  
static java.lang.String INVALID_ARG
          Deprecated.  
static java.lang.String INVALID_ATTRIBUTES
          Deprecated.  
static java.lang.String INVALID_CATEGORY
          Deprecated.  
static java.lang.String INVALID_DN
          Deprecated.  
static java.lang.String JNDI_OPERATION_ERROR
          Deprecated.  
static java.lang.String OBJECT_NOT_FOUND
          Deprecated.  
static java.lang.String PROFILE_NOT_FOUND
          Deprecated.  
static java.lang.String RELATIONSHIP_NOT_FOUND
          Deprecated.  
static java.lang.String REMOVE_ERROR
          Deprecated.  
static java.lang.String SERVER_NOT_AVAILABLE
          Deprecated.  
 
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.
 
Methods inherited from class com.ibm.itim.exception.ITIMException
getMessage, getMessage, getMessageId, getThrowable, getTokens, normalize, printStackTrace, printStackTrace, printStackTrace, toXML
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SERVER_NOT_AVAILABLE

public static final java.lang.String SERVER_NOT_AVAILABLE
Deprecated.  


INVALID_ARG

public static final java.lang.String INVALID_ARG
Deprecated.  


OBJECT_NOT_FOUND

public static final java.lang.String OBJECT_NOT_FOUND
Deprecated.  


CREATE_ERROR

public static final java.lang.String CREATE_ERROR
Deprecated.  


INVALID_ATTRIBUTES

public static final java.lang.String INVALID_ATTRIBUTES
Deprecated.  


RELATIONSHIP_NOT_FOUND

public static final java.lang.String RELATIONSHIP_NOT_FOUND
Deprecated.  


REMOVE_ERROR

public static final java.lang.String REMOVE_ERROR
Deprecated.  


PROFILE_NOT_FOUND

public static final java.lang.String PROFILE_NOT_FOUND
Deprecated.  


INVALID_DN

public static final java.lang.String INVALID_DN
Deprecated.  


INVALID_CATEGORY

public static final java.lang.String INVALID_CATEGORY
Deprecated.  


JNDI_OPERATION_ERROR

public static final java.lang.String JNDI_OPERATION_ERROR
Deprecated.  


DUPLICATE_ENTRY

public static final java.lang.String DUPLICATE_ENTRY
Deprecated.  


ATTR_IN_USE

public static final java.lang.String ATTR_IN_USE
Deprecated.  

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.