Home » displaytag-1.1.1-src » org » displaytag » exception » [javadoc | source]
org.displaytag.exception
abstract public class: BaseNestableJspTagException [javadoc | source]
java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         javax.servlet.jsp.JspException
            javax.servlet.jsp.JspTagException
               org.displaytag.exception.BaseNestableJspTagException

All Implemented Interfaces:
    Serializable

Direct Known Subclasses:
    PdfGenerationException, ExportException, HssfGenerationException, ItextGenerationException, MissingAttributeException, ExcelGenerationException, DecoratorException, ObjectLookupException, TagStructureException, InvalidTagAttributeValueException, DecoratorInstantiationException

Base exception: extendes JspTagException providing logging and exception nesting functionalities.
Constructor:
 public BaseNestableJspTagException(Class source,
    String message) 
    Instantiate a new BaseNestableJspTagException.
    Parameters:
    source - Class where the exception is generated
    message - message
 public BaseNestableJspTagException(Class source,
    String message,
    Throwable cause) 
    Instantiate a new BaseNestableJspTagException.
    Parameters:
    source - Class where the exception is generated
    message - message
    cause - previous Exception
Method from org.displaytag.exception.BaseNestableJspTagException Summary:
getCause,   getSeverity,   toString
Methods from javax.servlet.jsp.JspException:
getRootCause
Methods from java.lang.Throwable:
fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.displaytag.exception.BaseNestableJspTagException Detail:
 public Throwable getCause() 
    returns the previous exception.
 abstract public SeverityEnum getSeverity()
    subclasses need to define the getSeverity method to provide correct severity for logging.
 public String toString() 
    basic toString. Returns the message plus the previous exception (if a previous exception exists).