com.ibm.serviceregistry.exception.admin
Class ConfigItemException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.serviceregistry.ServiceRegistryException
              extended by com.ibm.serviceregistry.persistence.PersistenceException
                  extended by com.ibm.serviceregistry.exception.admin.ConfigItemException
All Implemented Interfaces:
ServiceRegistryLocalizedMessage, java.io.Serializable

public class ConfigItemException
extends PersistenceException

Represents various configuration item exceptions at the persistence layer.

See Also:
Serialized Form

Field Summary
static java.lang.String copyrightStatement
           
 
Fields inherited from class com.ibm.serviceregistry.ServiceRegistryException
messageResource, messageResourceLoader, PROPERTY_BSRURI, rollbackOnly
 
Constructor Summary
ConfigItemException(ConfigItemExceptionType type)
          Constructor taking exception type, which must come from the ConfigExceptionType enumeration.
ConfigItemException(ConfigItemExceptionType type, java.lang.Object[] inserts)
          Constructor taking exception type and message inserts.
ConfigItemException(ConfigItemExceptionType type, java.lang.Object[] inserts, java.lang.Throwable cause)
          Constructor taking exception type, message inserts and cause exception.
 
Method Summary
 ConfigItemExceptionType getExceptionType()
          Returns the exception type.
 AdminException toAdminException()
          Creates an AdminException from this exception.
 
Methods inherited from class com.ibm.serviceregistry.ServiceRegistryException
getCause, getExplanationText, getExplanationText, getFailingObject, getInserts, getLocalizedMessage, getLocalizedMessage, getMapToVersion, getMessage, getMessageKey, getMessageNumber, getMessageResource, getMessageResourceLoader, getMessageSeverity, getMessageText, getMessageText, getProperty, getResourceMessage, getResponseText, getResponseText, getRollbackOnly, setCause, setFailingObject, setMapToVersion, setMessageResource, setProperty, writeReplace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

copyrightStatement

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

ConfigItemException

public ConfigItemException(ConfigItemExceptionType type)
Constructor taking exception type, which must come from the ConfigExceptionType enumeration.

Parameters:
type -

ConfigItemException

public ConfigItemException(ConfigItemExceptionType type,
                           java.lang.Object[] inserts)
Constructor taking exception type and message inserts. The exception type must come from the ConfigExceptionType enumeration.

Parameters:
type -
inserts -

ConfigItemException

public ConfigItemException(ConfigItemExceptionType type,
                           java.lang.Object[] inserts,
                           java.lang.Throwable cause)
Constructor taking exception type, message inserts and cause exception. The exception type must come from the ConfigExceptionType enumeration.

Parameters:
type -
inserts -
cause -
Method Detail

getExceptionType

public ConfigItemExceptionType getExceptionType()
Returns the exception type.

Returns:
Returns the exceptionType.

toAdminException

public AdminException toAdminException()
Creates an AdminException from this exception.

Returns:
The AdminException


© Copyright IBM Corporation 2006, 2009. All Rights Reserved.