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

Quick Search    Search Deep

org.displaytag.exception
Class MissingAttributeException  view MissingAttributeException download MissingAttributeException.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
                      extended byorg.displaytag.exception.MissingAttributeException
All Implemented Interfaces:
java.io.Serializable

public class MissingAttributeException
extends BaseNestableJspTagException

Exception thrown when a required attribute is not set. This is thrown when the user is required to set at least one of multiple attributes and the check can't be enforced by the tld.

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

Nested Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
private  java.lang.String[] attributes
          list of tag attributes.
private static long serialVersionUID
          D1597A17A6.
 
Fields inherited from class org.displaytag.exception.BaseNestableJspTagException
 
Fields inherited from class javax.servlet.jsp.JspException
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
MissingAttributeException(java.lang.Class source, java.lang.String[] attributeNames)
          Constructor for MissingAttributeException.
 
Method Summary
 java.lang.String[] getAttributeNames()
          returns an array containing the names of missing attributes.
 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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
D1597A17A6.

See Also:
Constant Field Values

attributes

private final java.lang.String[] attributes
list of tag attributes.

Constructor Detail

MissingAttributeException

public MissingAttributeException(java.lang.Class source,
                                 java.lang.String[] attributeNames)
Constructor for MissingAttributeException.

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

getAttributeNames

public java.lang.String[] getAttributeNames()
returns an array containing the names of missing attributes.