ognl
Class NoSuchPropertyException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byognl.OgnlException
              extended byognl.NoSuchPropertyException
All Implemented Interfaces:
Serializable

public class NoSuchPropertyException
extends OgnlException

Exception thrown if a property is attempted to be extracted from an object that does not have such a property.

Author:
Luke Blanshard (blanshlu@netscape.net), Drew Davidson (drew@ognl.org)
See Also:
Serialized Form

Constructor Summary
NoSuchPropertyException(Object target, Object name)
           
NoSuchPropertyException(Object target, Object name, Throwable reason)
           
 
Method Summary
 Object getName()
           
 Object getTarget()
           
 
Methods inherited from class ognl.OgnlException
getEvaluation, getReason, printStackTrace, printStackTrace, printStackTrace, setEvaluation, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoSuchPropertyException

public NoSuchPropertyException(Object target,
                               Object name,
                               Throwable reason)

NoSuchPropertyException

public NoSuchPropertyException(Object target,
                               Object name)
Method Detail

getTarget

public Object getTarget()

getName

public Object getName()

OGNL Project Page