com.ibm.premises.reusable.exceptions
Class ConcurrentException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.premises.reusable.exceptions.ReusableComponentException
              extended by com.ibm.premises.reusable.exceptions.AssetRUCException
                  extended by com.ibm.premises.reusable.exceptions.ConcurrentException
All Implemented Interfaces:
java.io.Serializable

public class ConcurrentException
extends AssetRUCException

Thrown when a user tried to edit an Asset or Asset Type and the given last update timestamp for the Asset or Asset Type is not the correct last update timsetamp.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
           
 
Fields inherited from class com.ibm.premises.reusable.exceptions.ReusableComponentException
message
 
Constructor Summary
ConcurrentException(int id, java.sql.Timestamp givenUpdateTime, java.sql.Timestamp actualUpdateTime)
           
 
Method Summary
 java.sql.Timestamp getActualUpdateTime()
           
 java.sql.Timestamp getGivenUpdateTime()
           
 int getId()
           
 void setActualUpdateTime(java.sql.Timestamp actualUpdateTime)
           
 void setGivenUpdateTime(java.sql.Timestamp givenUpdateTime)
           
 void setId(int id)
           
 
Methods inherited from class com.ibm.premises.reusable.exceptions.ReusableComponentException
getMessage, setMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

COPYRIGHT

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

ConcurrentException

public ConcurrentException(int id,
                           java.sql.Timestamp givenUpdateTime,
                           java.sql.Timestamp actualUpdateTime)
Method Detail

getActualUpdateTime

public java.sql.Timestamp getActualUpdateTime()

setActualUpdateTime

public void setActualUpdateTime(java.sql.Timestamp actualUpdateTime)

getGivenUpdateTime

public java.sql.Timestamp getGivenUpdateTime()

setGivenUpdateTime

public void setGivenUpdateTime(java.sql.Timestamp givenUpdateTime)

getId

public int getId()

setId

public void setId(int id)


Copyright © 2005 - 2009 IBM Corp. All Rights Reserved.