com.caucho.db.lock
Class LockTimeoutException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.caucho.db.lock.LockTimeoutException
All Implemented Interfaces:
java.io.Serializable

public class LockTimeoutException
extends java.lang.RuntimeException

Wraps an exception in a SQLException wrapper.

See Also:
Serialized Form

Constructor Summary
LockTimeoutException()
          Creates the wrapper with a message.
LockTimeoutException(java.lang.String message)
          Creates the wrapper with a message.
LockTimeoutException(java.lang.String message, java.lang.Throwable e)
          Creates the wrapper with a message and a root cause.
LockTimeoutException(java.lang.Throwable e)
          Creates the wrapper with a root cause.
 
Method Summary
 java.lang.Throwable getCause()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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

LockTimeoutException

public LockTimeoutException()
Creates the wrapper with a message.


LockTimeoutException

public LockTimeoutException(java.lang.String message)
Creates the wrapper with a message.


LockTimeoutException

public LockTimeoutException(java.lang.String message,
                            java.lang.Throwable e)
Creates the wrapper with a message and a root cause.

Parameters:
message - the message.
e - the rootCause exception

LockTimeoutException

public LockTimeoutException(java.lang.Throwable e)
Creates the wrapper with a root cause.

Parameters:
message - the message.
e - the rootCause exception
Method Detail

getCause

public java.lang.Throwable getCause()
Overrides:
getCause in class java.lang.Throwable