Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.displaytag.exception
Class BaseNestableJspTagException  view BaseNestableJspTagException download BaseNestableJspTagException.java

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.servlet.jsp.JspException
              extended byjavax.servlet.jsp.JspTagException
                  extended byorg.displaytag.exception.BaseNestableJspTagException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DecoratorException, DecoratorInstantiationException, ExportException, InvalidTagAttributeValueException, MissingAttributeException, ObjectLookupException, TagStructureException

public abstract class BaseNestableJspTagException
extends javax.servlet.jsp.JspTagException

Base exception: extendes JspTagException providing logging and exception nesting functionalities.

Version:
$Revision: 720 $ ($Author: fgiust $)

Nested Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
private  java.lang.Throwable nestedException
          previous exception.
private  java.lang.Class sourceClass
          Class where the exception has been generated.
 
Fields inherited from class javax.servlet.jsp.JspException
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
BaseNestableJspTagException(java.lang.Class source, java.lang.String message)
          Instantiate a new BaseNestableJspTagException.
BaseNestableJspTagException(java.lang.Class source, java.lang.String message, java.lang.Throwable cause)
          Instantiate a new BaseNestableJspTagException.
 
Method Summary
 java.lang.Throwable getCause()
          returns the previous exception.
abstract  SeverityEnum getSeverity()
          subclasses need to define the getSeverity method to provide correct severity for logging.
 java.lang.String toString()
          basic toString.
 
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
 

Field Detail

sourceClass

private final java.lang.Class sourceClass
Class where the exception has been generated.


nestedException

private java.lang.Throwable nestedException
previous exception.

Constructor Detail

BaseNestableJspTagException

public BaseNestableJspTagException(java.lang.Class source,
                                   java.lang.String message)
Instantiate a new BaseNestableJspTagException.


BaseNestableJspTagException

public BaseNestableJspTagException(java.lang.Class source,
                                   java.lang.String message,
                                   java.lang.Throwable cause)
Instantiate a new BaseNestableJspTagException.

Method Detail

getCause

public java.lang.Throwable getCause()
returns the previous exception.


toString

public java.lang.String toString()
basic toString. Returns the message plus the previous exception (if a previous exception exists).


getSeverity

public abstract SeverityEnum getSeverity()
subclasses need to define the getSeverity method to provide correct severity for logging.