org.hippoecm.hst.core.component
Class HstComponentException

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
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
HstComponentFatalException

public class HstComponentException
extends RuntimeException

The HstComponentException class defines a general exception that a HstComponent can throw when it is unable to perform its operation successfully.

Version:
$Id: HstComponentException.java 17003 2009-03-18 18:20:52Z wko $
See Also:
Serialized Form

Constructor Summary
HstComponentException()
          Constructs a new HstComponent exception.
HstComponentException(String message)
          Constructs a new HstComponent exception with the given message.
HstComponentException(String msg, Throwable nested)
          Constructs a new HstComponent exception when the HstComponent needs to do the following: throw an exception include the "nested" exception include a description message
HstComponentException(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

HstComponentException

public HstComponentException()
Constructs a new HstComponent exception.


HstComponentException

public HstComponentException(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

HstComponentException

public HstComponentException(Throwable nested)
Constructs a new HstComponent exception with the nested exception.

Parameters:
nested - the nested exception

HstComponentException

public HstComponentException(String msg,
                             Throwable nested)
Constructs a new HstComponent 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.