tecgraf.javautils.concurrent.locks.exceptions
Class ObjectNotLockedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by tecgraf.javautils.concurrent.locks.exceptions.ObjectNotLockedException
All Implemented Interfaces:
Serializable

public class ObjectNotLockedException
extends RuntimeException

Exceção para distinguir uma falha na tentativa de liberar um lock sobre um objeto que não tem locks relacionados

See Also:
Serialized Form

Constructor Summary
ObjectNotLockedException(String clientMessage)
          Constrói uma exceção contendo a descrição do erro correspondente.
ObjectNotLockedException(String clientMessage, Throwable exception)
          Constrói uma exceção contendo a descrição do erro e a causa/exceção original.
 
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

ObjectNotLockedException

public ObjectNotLockedException(String clientMessage)
Constrói uma exceção contendo a descrição do erro correspondente.

Parameters:
clientMessage - a descrição do erro

ObjectNotLockedException

public ObjectNotLockedException(String clientMessage,
                                Throwable exception)
Constrói uma exceção contendo a descrição do erro e a causa/exceção original.

Parameters:
clientMessage - a descrição do erro
exception - a exceção original


Copyright © 2014 Tecgraf/PUC-Rio. All rights reserved.