jfun.yan
Class InvalidPropertyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by jfun.yan.YanException
                  extended by jfun.yan.InvalidPropertyException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
IllegalPropertyNameException, NonReadablePropertyException, NonWritablePropertyException

public class InvalidPropertyException
extends YanException

Represents any exception about a component property.

Codehaus.org.

Author:
Ben Yu
See Also:
Serialized Form

Constructor Summary
InvalidPropertyException(java.lang.Class type, java.lang.String name)
          Create an InvalidPropertyException object.
InvalidPropertyException(java.lang.Class type, java.lang.String name, java.lang.String msg)
          Create an InvalidPropertyException object.
 
Method Summary
 java.lang.Class getComponentType()
          Get the component type.
 java.lang.String getPropertyName()
          Get the property name.
 
Methods inherited from class jfun.yan.YanException
clearResolutionTrace, getResolutionTrace, printResolutionTrace, printResolutionTrace, printResolutionTrace, printStackTrace, printStackTrace, push
 
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

InvalidPropertyException

public InvalidPropertyException(java.lang.Class type,
                                java.lang.String name,
                                java.lang.String msg)
Create an InvalidPropertyException object.

Parameters:
type - the component type.
name - the property name.
msg - the error message.

InvalidPropertyException

public InvalidPropertyException(java.lang.Class type,
                                java.lang.String name)
Create an InvalidPropertyException object.

Parameters:
type - the component type.
name - the property name.
Method Detail

getComponentType

public java.lang.Class getComponentType()
Get the component type.

Returns:
the component type.

getPropertyName

public java.lang.String getPropertyName()
Get the property name.

Returns:
the property name.