org.apache.commons.ognl
Class NoSuchPropertyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.commons.ognl.OgnlException
              extended by org.apache.commons.ognl.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 org.apache.commons.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)

NoSuchPropertyException

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

getTarget

public Object getTarget()

getName

public Object getName()


Copyright © 1997-2013 The Apache Software Foundation. All Rights Reserved.