net.smartlab.web
Class LockException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.smartlab.web.DAOException
              extended by net.smartlab.web.LockException
All Implemented Interfaces:
java.io.Serializable

public class LockException
extends DAOException

A LockException is thrown whenever an application tries to update a persistent representation into the storage system with an obsolete version of datas or while another application has previously locked the datas, depending on the locking mechanism adopted.

Author:
rlogiacco
See Also:
Serialized Form

Constructor Summary
LockException()
          Default empty constructor.
LockException(java.lang.String message)
          Constructs a new instance with the specified describing message.
LockException(java.lang.String message, java.lang.Throwable cause)
          Constructs a new instance with the specified describing message and cause.
LockException(java.lang.Throwable cause)
          Constructs a new instance with the specified cause.
 
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

LockException

public LockException()
Default empty constructor.


LockException

public LockException(java.lang.String message)
Constructs a new instance with the specified describing message.

Parameters:
message - the description of the occurred exception.

LockException

public LockException(java.lang.Throwable cause)
Constructs a new instance with the specified cause.

Parameters:
cause - the throwable instance wich generated this exception.

LockException

public LockException(java.lang.String message,
                     java.lang.Throwable cause)
Constructs a new instance with the specified describing message and cause.

Parameters:
message - the description of the occurred exception.
cause - the throwable instance wich generated this exception.


Copyright © 2004-2009 The SmartWeb Team. All Rights Reserved.