net.sf.sasl.distributed.lock
Class LockOperationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.sf.sasl.distributed.lock.LockOperationException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DeadlockException

public class LockOperationException
extends RuntimeException

Exception for all sort of occurred lock operation "errors". For example failed to lock something because of a network error, the lock is forbidden etc.

Since:
0.0.1 (sasl-distributed-lock-library)
Author:
Philipp Förmer
See Also:
Serialized Form

Constructor Summary
LockOperationException()
          Creates an empty lock operation exception.
LockOperationException(String message)
          Creates a lock operation exception with the given message.
LockOperationException(String message, Throwable cause)
          Creates a lock operation exception with the given message and cause.
LockOperationException(Throwable cause)
          Creates a lock operation exception with the given 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

LockOperationException

public LockOperationException()
Creates an empty lock operation exception.

Since:
0.0.1 (sasl-distributed-lock-library)

LockOperationException

public LockOperationException(String message,
                              Throwable cause)
Creates a lock operation exception with the given message and cause.

Parameters:
message - null or non null
cause - null or non null
Since:
0.0.1 (sasl-distributed-lock-library)

LockOperationException

public LockOperationException(String message)
Creates a lock operation exception with the given message.

Parameters:
message - null or non null
Since:
0.0.1 (sasl-distributed-lock-library)

LockOperationException

public LockOperationException(Throwable cause)
Creates a lock operation exception with the given cause.

Parameters:
cause - null or non null
Since:
0.0.1 (sasl-distributed-lock-library)


Copyright © 2010. All Rights Reserved.