org.displaytag.exception
Class TagStructureException

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
                      extended byorg.displaytag.exception.TagStructureException
All Implemented Interfaces:
java.io.Serializable

public class TagStructureException
extends BaseNestableJspTagException

Exception thrown when a Tag is not properly nested into another one.

Version:
$Revision: 1.12 $ ($Author: fgiust $)
Author:
Fabrizio Giustina
See Also:
Serialized Form

Constructor Summary
TagStructureException(java.lang.Class source, java.lang.String currentTag, java.lang.String shoudBeNestedIn)
          Constructor for InvalidTagAttributeValueException.
 
Method Summary
 SeverityEnum getSeverity()
          subclasses need to define the getSeverity method to provide correct severity for logging.
 
Methods inherited from class org.displaytag.exception.BaseNestableJspTagException
getCause, 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

TagStructureException

public TagStructureException(java.lang.Class source,
                             java.lang.String currentTag,
                             java.lang.String shoudBeNestedIn)
Constructor for InvalidTagAttributeValueException.

Parameters:
source - Class where the exception is generated
currentTag - name of the current tag
shoudBeNestedIn - missing parent tag
Method Detail

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.ERROR
See Also:
BaseNestableJspTagException.getSeverity(), SeverityEnum


Copyright © 2002-2005 the Displaytag team. All Rights Reserved.