Class HstComponentFatalException

  • All Implemented Interfaces:
    Serializable

    public class HstComponentFatalException
    extends HstComponentException
    The HstComponentFatalException can be thrown to break out of the HST2 request handling. This exception is suitable for irrecoverable misconfigurations or errors, where you want fail-fast to inform the developers about the error they made, instead of only logging a warning
    See Also:
    Serialized Form
    • Constructor Detail

      • HstComponentFatalException

        public HstComponentFatalException()
        Constructs a new HstComponent exception.
      • HstComponentFatalException

        public HstComponentFatalException​(String message)
        Constructs a new HstComponent exception with the given message. The HstComponent container may use the message write it to a log.
        Parameters:
        message - the exception message
      • HstComponentFatalException

        public HstComponentFatalException​(Throwable nested)
        Constructs a new HstComponent exception with the nested exception.
        Parameters:
        nested - the nested exception
      • HstComponentFatalException

        public HstComponentFatalException​(String msg,
                                          Throwable nested)
        Constructs a new HstComponentConfigurationException exception when the HstComponent needs to do the following:
        • throw an exception
        • include the "nested" exception
        • include a description message
        Parameters:
        msg - the exception message
        nested - the nested exception