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:
  • Constructor Details

    • LockedException

      public LockedException(String aMessage, String aErrorCode)
      Instantiates a new locked exception.
      Parameters:
      aMessage - The aMessage describing this exception.
      aErrorCode - The error code identifying this exception.
    • LockedException

      public LockedException(String aMessage, Throwable aCause, String aErrorCode)
      Instantiates a new locked exception.
      Parameters:
      aMessage - The aMessage describing this exception.
      aCause - The Throwable (Exception) causing this exception.
      aErrorCode - The error code identifying this exception.
    • LockedException

      public LockedException(String aMessage, Throwable aCause)
      Instantiates a new locked exception.
      Parameters:
      aMessage - The aMessage describing this exception.
      aCause - The Throwable (Exception) causing this exception.
    • LockedException

      public LockedException(String aMessage)
      Instantiates a new locked exception.
      Parameters:
      aMessage - The aMessage describing this exception.
    • LockedException

      public LockedException(Throwable aCause, String aErrorCode)
      Instantiates a new locked exception.
      Parameters:
      aCause - The Throwable (Exception) causing this exception.
      aErrorCode - The error code identifying this exception.
    • LockedException

      public LockedException(Throwable aCause)
      Instantiates a new locked exception.
      Parameters:
      aCause - The Throwable (Exception) causing this exception.