net.sf.sasl.distributed.lock
Class DeadlockException

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
                  extended by net.sf.sasl.distributed.lock.DeadlockException
All Implemented Interfaces:
Serializable

public class DeadlockException
extends LockOperationException

Exception for occurred and detected deadlocks.

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

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

DeadlockException

public DeadlockException()
Creates an empty deadlock exception.

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

DeadlockException

public DeadlockException(String message,
                         Throwable cause)
Creates a deadlock 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)

DeadlockException

public DeadlockException(String message)
Creates a deadlock exception with the given message.

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

DeadlockException

public DeadlockException(Throwable cause)
Creates a deadlock exception with the given cause.

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


Copyright © 2010. All Rights Reserved.