com.ibm.datapower.wamt.dataAPI
Class DirtySaveException

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.DirtySaveException
All Implemented Interfaces:
java.io.Serializable

public class DirtySaveException
extends DatastoreException

This exception is thrown if an attempt is made to save data after another user has made changes which will not be reflected in the saved repository. In other words, the save would overlay another caller's changes.

See Also:
DMgrException, Repository.save(boolean), Serialized Form

Field Summary
static java.lang.String COPYRIGHT_2009_2010
           
 
Constructor Summary
DirtySaveException()
           
DirtySaveException(java.lang.String message)
           
DirtySaveException(java.lang.String message, java.lang.String msgKey)
          Create an exception with a message and NLS attributes, but with no chained cause.
DirtySaveException(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.
DirtySaveException(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.
DirtySaveException(java.lang.String message, java.lang.Throwable cause)
           
DirtySaveException(java.lang.String message, java.lang.Throwable cause, java.lang.String msgKey)
          Create an exception with a message, NLS attributes and a chained cause.
DirtySaveException(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.
DirtySaveException(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.
DirtySaveException(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

DirtySaveException

public DirtySaveException()

DirtySaveException

public DirtySaveException(java.lang.String message)

DirtySaveException

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

DirtySaveException

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

DirtySaveException

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

DirtySaveException

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

DirtySaveException

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

DirtySaveException

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

DirtySaveException

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

DirtySaveException

public DirtySaveException(java.lang.Throwable cause)


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