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 aMessage describing this exception.
      aErrorCode - The error code identifying this exception.
    • StopException

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

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

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

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

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