org.alphadisplaytag.exception
Class BaseNestableJspTagException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.servlet.jsp.JspException
              extended byjavax.servlet.jsp.JspTagException
                  extended byorg.alphadisplaytag.exception.BaseNestableJspTagException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ObjectLookupException

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

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

Version:
$Revision: 1.9 $ ($Author: fgiust $)
Author:
fgiust
See Also:
Serialized Form

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
 

Constructor Detail

BaseNestableJspTagException

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

Parameters:
source - Class where the exception is generated
message - message

BaseNestableJspTagException

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

Parameters:
source - Class where the exception is generated
message - message
cause - previous Exception
Method Detail

getCause

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

Returns:
Throwable previous exception

toString

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

Returns:
String

getSeverity

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

Returns:
SeverityEnum exception severity
See Also:
SeverityEnum


Alphabetical Navigation Bar Java Display Tag Home Page. 

My Home Page. Contact me at: chauvetp@hotmail.com.
I am alway looking for Java/J2EE work and would appreciate the business. Some of my design is inspired by the original display tag <display:*> code. Please go to http://displaytag.sourceforge.net/ for details on the <display:*> tag.

Copyright © 2004 Aiki Innovations Inc. Permission is granted to reuse and distribute for commercial or personal use if no extensive monetary gain is received. Java and the Java Standard Tag Library are programming languages owed by Sun Microsystems, Inc: http://java.sun.com/products/jsp/jstl/