org.opensubsystems.core.error
Class OSSConcurentModifyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.opensubsystems.core.error.OSSException
              extended by org.opensubsystems.core.error.OSSConcurentModifyException
All Implemented Interfaces:
java.io.Serializable

public class OSSConcurentModifyException
extends OSSException

Exception thrown when there was a problem with concurent object modification. This happens when one user looks at some edit screen too long and meanwhile some other user modifies the data. Then when the first user tries to save his data, he will receive this exception and the data will not be modified to prevent overwriting and loss of data.

Version:
$Id: OSSConcurentModifyException.java,v 1.5 2007/01/07 06:14:50 bastafidli Exp $
Author:
Peter Satury
See Also:
Serialized Form
Code reviewer:
Miro Halas
Code reviewed:
1.3 2006/02/17 06:54:08 bastafidli

Constructor Summary
OSSConcurentModifyException()
          Create new exception
OSSConcurentModifyException(java.lang.String message)
          Create new exception
OSSConcurentModifyException(java.lang.String message, java.lang.Throwable cause)
          Create new exception
OSSConcurentModifyException(java.lang.Throwable cause)
          Create new exception
 
Method Summary
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OSSConcurentModifyException

public OSSConcurentModifyException()
Create new exception


OSSConcurentModifyException

public OSSConcurentModifyException(java.lang.String message)
Create new exception

Parameters:
message - - message to display

OSSConcurentModifyException

public OSSConcurentModifyException(java.lang.String message,
                                   java.lang.Throwable cause)
Create new exception

Parameters:
message - - message to display
cause - - cause for error

OSSConcurentModifyException

public OSSConcurentModifyException(java.lang.Throwable cause)
Create new exception

Parameters:
cause - - cause for error


Copyright © 2003 - 2006 OpenSubsystems s.r.o.