org.displaytag.exception
Class ObjectLookupException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.servlet.jsp.JspException
              extended by javax.servlet.jsp.JspTagException
                  extended by org.displaytag.exception.BaseNestableJspTagException
                      extended by org.displaytag.exception.ObjectLookupException
All Implemented Interfaces:
java.io.Serializable

public class ObjectLookupException
extends BaseNestableJspTagException

Exception thrown for errors in accessing bean properties.

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

Constructor Summary
ObjectLookupException(java.lang.Class source, java.lang.Object beanObject, java.lang.String beanProperty, java.lang.Throwable cause)
          Instantiate a new ObjectLookupException.
 
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

ObjectLookupException

public ObjectLookupException(java.lang.Class source,
                             java.lang.Object beanObject,
                             java.lang.String beanProperty,
                             java.lang.Throwable cause)
Instantiate a new ObjectLookupException.

Parameters:
source - Class where the exception is generated
beanObject - javabean
beanProperty - name of the property not found in javabean
cause - previous Exception
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.WARN
See Also:
BaseNestableJspTagException.getSeverity(), SeverityEnum


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