planetj.exception
Class ConcurrentAlterationException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--planetj.exception.CMException
                    |
                    +--planetj.exception.ConcurrentAlterationException
All Implemented Interfaces:
Serializable

public class ConcurrentAlterationException
extends CMException

Indicates that the alteration of one or more values failed, since those values have been altered since the last time they were read.

See Also:
Serialized Form

Field Summary
static byte DELETE_ALTERATION
           
static byte UNKNOWN_TYPE
           
static byte UPDATE_ALTERATION
           
 
Fields inherited from class planetj.exception.CMException
DISPLAY_ALL, DISPLAY_CLASS_INFO, DISPLAY_DETAILED_MESSAGE, DISPLAY_MESSAGE, DISPLAY_ORIGINAL_EXCEPTION, FATAL, INFO, SHOW_EXCEPTION, WARNING
 
Constructor Summary
ConcurrentAlterationException()
          Creates a new ConcurrentAlterationException.
ConcurrentAlterationException(AlterationLWO alteration)
          Deprecated. Can't get to the list
ConcurrentAlterationException(List alterations)
          Deprecated. Can't get to the list
ConcurrentAlterationException(String s)
          ConcurrentAlterationException constructor comment.
 
Method Summary
 void addAlterationLWO(AlterationLWO alteration)
          Deprecated. Can't get to the list anyway
 List getAlterations()
          Deprecated. Always returns an empty List.
 byte getAlterationType()
          Gets the type of alteration that took place.
 void setAlterations(List alterations)
          Deprecated. Can't get to the list anyway
 void setAlterationType(byte newAlterationType)
          Sets the type of alteration that took place.
 
Methods inherited from class planetj.exception.CMException
addPropertyChangeListener, firePropertyChange, getCMMessage, getDetailedMessage, getDisplayString, getDisplayType, getMessage, getNextException, getOriginalException, getType, removePropertyChangeListener, setDetailedMessage, setDisplayType, setMessage, setNextException, setOriginalException, setType, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNKNOWN_TYPE

public static final byte UNKNOWN_TYPE
See Also:
Constant Field Values

DELETE_ALTERATION

public static final byte DELETE_ALTERATION
See Also:
Constant Field Values

UPDATE_ALTERATION

public static final byte UPDATE_ALTERATION
See Also:
Constant Field Values
Constructor Detail

ConcurrentAlterationException

public ConcurrentAlterationException()
Creates a new ConcurrentAlterationException.


ConcurrentAlterationException

public ConcurrentAlterationException(String s)
ConcurrentAlterationException constructor comment.

Parameters:
s - java.lang.String

ConcurrentAlterationException

public ConcurrentAlterationException(List alterations)
Deprecated. Can't get to the list

Creates a new ConcurrentAlterationException containing a List of AlterationLWO's.

Parameters:
alterations - A List, which must contain only AlterationLWO objects.

ConcurrentAlterationException

public ConcurrentAlterationException(AlterationLWO alteration)
Deprecated. Can't get to the list

Creates a new ConcurrentAlterationException containing the AlterationLWO.

Parameters:
alteration - An AlterationLWO which this object will contain.
Method Detail

addAlterationLWO

public void addAlterationLWO(AlterationLWO alteration)
Deprecated. Can't get to the list anyway

Adds an AlterationLWO to the List of AlterationLWO's contained in this object.


getAlterations

public List getAlterations()
Deprecated. Always returns an empty List.

Sets the List of AlterationLWO's contained by this object.


getAlterationType

public byte getAlterationType()
Gets the type of alteration that took place.


setAlterations

public void setAlterations(List alterations)
Deprecated. Can't get to the list anyway

Sets the List of AlterationLWO's contained by this object.

Parameters:
alterations - A List, which must contain only AlterationLWO objects.

setAlterationType

public void setAlterationType(byte newAlterationType)
Sets the type of alteration that took place.