Class LockedException

All Implemented Interfaces:
Serializable, ErrorCodeAccessor, Trap

public class LockedException
extends AbstractException
implements Serializable
Thrown in case an instance being locked is still being accessed in a modifying way (see org.refcodes.mixin.Lockable in the refcodes-mixin artifact).
See Also:
as the unchecked counterpart of this ., Serialized Form
  • Constructor Details

    • LockedException

      public LockedException​(String aMessage, String aErrorCode)
      Instantiates a new locked exception.
      Parameters:
      aMessage - the message
      aErrorCode - the error code
    • LockedException

      public LockedException​(String aMessage, Throwable aCause, String aErrorCode)
      Instantiates a new locked exception.
      Parameters:
      aMessage - the message
      aCause - the cause
      aErrorCode - the error code
    • LockedException

      public LockedException​(String message, Throwable cause)
      Instantiates a new locked exception.
      Parameters:
      message - the message
      cause - the cause
    • LockedException

      public LockedException​(String message)
      Instantiates a new locked exception.
      Parameters:
      message - the message
    • LockedException

      public LockedException​(Throwable aCause, String aErrorCode)
      Instantiates a new locked exception.
      Parameters:
      aCause - the cause
      aErrorCode - the error code
    • LockedException

      public LockedException​(Throwable cause)
      Instantiates a new locked exception.
      Parameters:
      cause - the cause