Class StopException

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

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

    • StopException

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

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

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

      public StopException(String message)
      Instantiates a new stop exception.
      Parameters:
      message - the message
    • StopException

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

      public StopException(Throwable cause)
      Instantiates a new stop exception.
      Parameters:
      cause - the cause