com.ibm.datapower.wamt.dataAPI
Class AlreadyExistsInRepositoryException

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
                  extended by com.ibm.datapower.wamt.dataAPI.AlreadyExistsInRepositoryException
All Implemented Interfaces:
java.io.Serializable

public class AlreadyExistsInRepositoryException
extends DatastoreException

This exception is thrown if an attempt is made to create/add an instance of an object that already exists in the repository

See Also:
DMgrException, Serialized Form

Field Summary
static java.lang.String COPYRRIGHT_2006_2008
           
 
Fields inherited from class com.ibm.datapower.wamt.dataAPI.DatastoreException
COPYRIGHT_2009_2010
 
Constructor Summary
AlreadyExistsInRepositoryException()
          Create an empty exception without a message
AlreadyExistsInRepositoryException(java.lang.String message)
          Create an exception with only a message and no NLS attributes, and no chained cause.
AlreadyExistsInRepositoryException(java.lang.String message, java.lang.String msgKey)
          Create an exception with a message and NLS attributes, but with no chained cause.
AlreadyExistsInRepositoryException(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.
AlreadyExistsInRepositoryException(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.
AlreadyExistsInRepositoryException(java.lang.String message, java.lang.Throwable cause)
           
AlreadyExistsInRepositoryException(java.lang.String message, java.lang.Throwable cause, java.lang.String msgKey)
          Create an exception with a message, NLS attributes and a chained cause.
AlreadyExistsInRepositoryException(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.
AlreadyExistsInRepositoryException(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.
AlreadyExistsInRepositoryException(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

COPYRRIGHT_2006_2008

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

AlreadyExistsInRepositoryException

public AlreadyExistsInRepositoryException()
Create an empty exception without a message


AlreadyExistsInRepositoryException

public AlreadyExistsInRepositoryException(java.lang.String message)
Create an exception with only a message and no NLS attributes, and 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.

AlreadyExistsInRepositoryException

public AlreadyExistsInRepositoryException(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

AlreadyExistsInRepositoryException

public AlreadyExistsInRepositoryException(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

AlreadyExistsInRepositoryException

public AlreadyExistsInRepositoryException(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.

AlreadyExistsInRepositoryException

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

AlreadyExistsInRepositoryException

public AlreadyExistsInRepositoryException(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

AlreadyExistsInRepositoryException

public AlreadyExistsInRepositoryException(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

AlreadyExistsInRepositoryException

public AlreadyExistsInRepositoryException(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.

AlreadyExistsInRepositoryException

public AlreadyExistsInRepositoryException(java.lang.Throwable cause)


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