com.ibm.datapower.wamt.dataAPI
Class DatastoreException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.datapower.wamt.DMgrException
              extended by com.ibm.datapower.wamt.dataAPI.DatastoreException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AlreadyExistsInRepositoryException, DirtySaveException, NotEmptyInRepositoryException, NotExistInRepositoryException

public class DatastoreException
extends DMgrException

This is the root class for exceptions that are thrown from the dataAPI package. All other exception classes should be a subclass of this.

See Also:
DMgrException, Serialized Form

Field Summary
static java.lang.String COPYRIGHT_2009_2010
           
 
Constructor Summary
DatastoreException()
          Create an empty exception without a message
DatastoreException(java.lang.String message)
           
DatastoreException(java.lang.String message, java.lang.String msgKey)
          Create an exception with a message and NLS attributes, but with no chained cause.
DatastoreException(java.lang.String message, java.lang.String msgKey, java.lang.Object msgParm)
          Create an exception with a message and NLS attributes, but with no chained cause.
DatastoreException(java.lang.String message, java.lang.String msgKey, java.lang.Object[] msgParms)
          Create an exception with a message and NLS attributes, but with no chained cause.
DatastoreException(java.lang.String message, java.lang.Throwable cause)
           
DatastoreException(java.lang.String message, java.lang.Throwable cause, java.lang.String msgKey)
          Create an exception with a message, NLS attributes and a chained cause.
DatastoreException(java.lang.String message, java.lang.Throwable cause, java.lang.String msgKey, java.lang.Object msgParm)
          Create an exception with a message, NLS attributes and a chained cause.
DatastoreException(java.lang.String message, java.lang.Throwable cause, java.lang.String msgKey, java.lang.Object[] msgParms)
          Create an exception with a message, NLS attributes and a chained cause.
DatastoreException(java.lang.Throwable cause)
           
 
Method Summary
 
Methods inherited from class com.ibm.datapower.wamt.DMgrException
getMessage, getMessageExplanation, getMessageExplanation, getMessageUseraction, getMessageUseraction
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COPYRIGHT_2009_2010

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

DatastoreException

public DatastoreException()
Create an empty exception without a message


DatastoreException

public DatastoreException(java.lang.String message)

DatastoreException

public DatastoreException(java.lang.String message,
                          java.lang.String msgKey,
                          java.lang.Object[] msgParms)
Create an exception with a message and NLS attributes, but with no chained cause.

Parameters:
message - a string that provides some explanation/description of the exception. This message should have already been localized for the jvm's locale, if possible.
msgKey - a string giving the key of the NLS enabled message to be used with the exception.
msgParms - an Object[] that gives the attributes to be used with msgKey

DatastoreException

public DatastoreException(java.lang.String message,
                          java.lang.String msgKey,
                          java.lang.Object msgParm)
Create an exception with a message and NLS attributes, but with no chained cause.

Parameters:
message - a string that provides some explanation/description of the exception. This message should have already been localized for the jvm's locale, if possible.
msgKey - a string giving the key of the NLS enabled message to be used with the exception.
msgParm - an Object that gives the attributes to be used with msgKey

DatastoreException

public DatastoreException(java.lang.String message,
                          java.lang.String msgKey)
Create an exception with a message and NLS attributes, but with no chained cause.

Parameters:
message - a string that provides some explanation/description of the exception. This message should have already been localized for the jvm's locale, if possible.
msgKey - a string giving the key of the NLS enabled message to be used with the exception.

DatastoreException

public DatastoreException(java.lang.String message,
                          java.lang.Throwable cause)

DatastoreException

public DatastoreException(java.lang.String message,
                          java.lang.Throwable cause,
                          java.lang.String msgKey,
                          java.lang.Object[] msgParms)
Create an exception with a message, NLS attributes and a chained cause.

Parameters:
message - string that provides some explanation/description of the exception. This message should have already been localized for the jvm's locale, if possible.
cause - a reference to another exception that occurred at a lower level which is the cause for this higher-level exception.
msgKey - a string giving the key of the NLS enabled message to be used with the exception.
msgParms - an Object[] that gives the attributes to be used with msgKey

DatastoreException

public DatastoreException(java.lang.String message,
                          java.lang.Throwable cause,
                          java.lang.String msgKey,
                          java.lang.Object msgParm)
Create an exception with a message, NLS attributes and a chained cause.

Parameters:
message - string that provides some explanation/description of the exception. This message should have already been localized for the jvm's locale, if possible.
cause - a reference to another exception that occurred at a lower level which is the cause for this higher-level exception.
msgKey - a string giving the key of the NLS enabled message to be used with the exception.
msgParm - an Object that gives the attribute to be used with msgKey

DatastoreException

public DatastoreException(java.lang.String message,
                          java.lang.Throwable cause,
                          java.lang.String msgKey)
Create an exception with a message, NLS attributes and a chained cause.

Parameters:
message - string that provides some explanation/description of the exception. This message should have already been localized for the jvm's locale, if possible.
cause - a reference to another exception that occurred at a lower level which is the cause for this higher-level exception.
msgKey - a string giving the key of the NLS enabled message to be used with the exception.

DatastoreException

public DatastoreException(java.lang.Throwable cause)


© Copyright IBM Corp. 2006, 2010 All Rights Reserved.