Class HalException

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

    public abstract class HalException
    extends org.refcodes.exception.AbstractException
    The base exception for HAL related issues.
    See Also:
    Serialized Form
    • Constructor Detail

      • HalException

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

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

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

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

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

        public HalException​(Throwable cause)
        Instantiates a new HAL exception.
        Parameters:
        cause - the cause