jfun.jaskell
Class InvalidBeanPropertyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by jfun.jaskell.JaskellException
                  extended by jfun.jaskell.EvaluationException
                      extended by jfun.jaskell.InvalidArgumentException
                          extended by jfun.jaskell.InvalidBeanPropertyException
All Implemented Interfaces:
java.io.Serializable

public class InvalidBeanPropertyException
extends InvalidArgumentException

Represents an invalid bean property.

Author:
Ben Yu Feb 8, 2006 9:58:55 PM
See Also:
Serialized Form

Constructor Summary
InvalidBeanPropertyException(java.lang.Class beanclass, java.lang.String propname)
          Create InvalidBeanPropertyException instance.
InvalidBeanPropertyException(java.lang.Class beanclass, java.lang.String propname, java.lang.String msg)
          Create InvalidBeanPropertyException instance.
InvalidBeanPropertyException(java.lang.Class beanclass, java.lang.String propname, java.lang.String msg, java.lang.Throwable cause)
          Create InvalidBeanPropertyException instance.
InvalidBeanPropertyException(java.lang.Class beanclass, java.lang.String propname, java.lang.Throwable cause)
          Create InvalidBeanPropertyException instance.
 
Method Summary
 java.lang.Class getBeanClass()
          To get the bean class.
 java.lang.String getInvalidPropertyName()
          To get the name of the invalid property.
 
Methods inherited from class jfun.jaskell.EvaluationException
printEvaluationTrace, printEvaluationTrace, printEvaluationTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidBeanPropertyException

public InvalidBeanPropertyException(java.lang.Class beanclass,
                                    java.lang.String propname,
                                    java.lang.String msg,
                                    java.lang.Throwable cause)
Create InvalidBeanPropertyException instance.

Parameters:
beanclass - the bean class.
propname - the invalid property name.
msg - the error message.
cause - the causing exception.

InvalidBeanPropertyException

public InvalidBeanPropertyException(java.lang.Class beanclass,
                                    java.lang.String propname,
                                    java.lang.String msg)
Create InvalidBeanPropertyException instance.

Parameters:
beanclass - the bean class.
propname - the invalid property name.
msg - the error message.

InvalidBeanPropertyException

public InvalidBeanPropertyException(java.lang.Class beanclass,
                                    java.lang.String propname)
Create InvalidBeanPropertyException instance.

Parameters:
beanclass - the bean class.
propname - the invalid property name.

InvalidBeanPropertyException

public InvalidBeanPropertyException(java.lang.Class beanclass,
                                    java.lang.String propname,
                                    java.lang.Throwable cause)
Create InvalidBeanPropertyException instance.

Parameters:
beanclass - the bean class.
propname - the invalid property name.
cause - the causing exception.
Method Detail

getBeanClass

public java.lang.Class getBeanClass()
To get the bean class.


getInvalidPropertyName

public java.lang.String getInvalidPropertyName()
To get the name of the invalid property.