org.displaytag.exception
Class DecoratorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.servlet.jsp.JspException
javax.servlet.jsp.JspTagException
org.displaytag.exception.BaseNestableJspTagException
org.displaytag.exception.DecoratorException
- All Implemented Interfaces:
- java.io.Serializable
public class DecoratorException
- extends BaseNestableJspTagException
Exception thrown by column decorators. If a decorator need to throw a checked exception this should be nested in a
DecoratorException.
- Version:
- $Revision: 1081 $ ($Author: fgiust $)
- Author:
- Fabrizio Giustina
- See Also:
- Serialized Form
|
Constructor Summary |
DecoratorException(java.lang.Class source,
java.lang.String message)
Constructor for DecoratorException. |
DecoratorException(java.lang.Class source,
java.lang.String message,
java.lang.Throwable cause)
Constructor for DecoratorException. |
|
Method Summary |
SeverityEnum |
getSeverity()
subclasses need to define the getSeverity method to provide correct severity for logging. |
| Methods inherited from class javax.servlet.jsp.JspException |
getRootCause |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DecoratorException
public DecoratorException(java.lang.Class source,
java.lang.String message)
- Constructor for DecoratorException.
- Parameters:
source - Class where the exception is generatedmessage - message
DecoratorException
public DecoratorException(java.lang.Class source,
java.lang.String message,
java.lang.Throwable cause)
- Constructor for DecoratorException.
- Parameters:
source - Class where the exception is generatedmessage - messagecause - previous exception
getSeverity
public SeverityEnum getSeverity()
- Description copied from class:
BaseNestableJspTagException
- subclasses need to define the getSeverity method to provide correct severity for logging.
- Specified by:
getSeverity in class BaseNestableJspTagException
- Returns:
- SeverityEnum exception severity
- See Also:
BaseNestableJspTagException.getSeverity()
Copyright © 2002-2007 the Displaytag team. All Rights Reserved.