org.hippoecm.hst.core.component
Class HstComponentFatalException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.hippoecm.hst.core.component.HstComponentException
                  extended by org.hippoecm.hst.core.component.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 Summary
HstComponentFatalException()
          Constructs a new HstComponent exception.
HstComponentFatalException(String message)
          Constructs a new HstComponent exception with the given message.
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
HstComponentFatalException(Throwable nested)
          Constructs a new HstComponent exception with the nested exception.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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:

Parameters:
msg - the exception message
nested - the nested exception


Copyright © 2008-2012 Hippo. All Rights Reserved.