Class DestroyException

All Implemented Interfaces:
Serializable, org.refcodes.exception.ErrorCodeAccessor, org.refcodes.exception.Trap

public class DestroyException extends LifecycleException
Thrown in case stopping a component caused problems. Usually a method similar to "destroy()" throws such an exception.
See Also:
  • Constructor Details

    • DestroyException

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

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

      public DestroyException(String message, Throwable cause)
      Instantiates a new destroy exception.
      Parameters:
      message - the message
      cause - the cause
    • DestroyException

      public DestroyException(String message)
      Instantiates a new destroy exception.
      Parameters:
      message - the message
    • DestroyException

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

      public DestroyException(Throwable cause)
      Instantiates a new destroy exception.
      Parameters:
      cause - the cause