net.sf.japaki.beans
Class NoSuchPropertyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalArgumentException
                  extended by net.sf.japaki.beans.NoSuchPropertyException
All Implemented Interfaces:
Serializable

public class NoSuchPropertyException
extends IllegalArgumentException

Signals that the bean does not have a property of a specified name.

See Also:
Serialized Form

Constructor Summary
NoSuchPropertyException()
          Constructs a NoSuchPropertyException with no detail message.
NoSuchPropertyException(String s)
          Constructs a NoSuchPropertyException with the specified detail message.
NoSuchPropertyException(String name, Class type)
          Constructs a NoSuchPropertyException with the specified detail message.
NoSuchPropertyException(String message, Throwable cause)
          Constructs a new exception with the specified detail message and cause.
NoSuchPropertyException(Throwable cause)
          Constructs a new exception with the specified cause.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoSuchPropertyException

public NoSuchPropertyException()
Constructs a NoSuchPropertyException with no detail message.


NoSuchPropertyException

public NoSuchPropertyException(String s)
Constructs a NoSuchPropertyException with the specified detail message.

Parameters:
s - the detail message, typically the name of the property that could not be found.

NoSuchPropertyException

public NoSuchPropertyException(String message,
                               Throwable cause)
Constructs a new exception with the specified detail message and cause. See Throwable for details.


NoSuchPropertyException

public NoSuchPropertyException(Throwable cause)
Constructs a new exception with the specified cause. See Throwable for details.


NoSuchPropertyException

public NoSuchPropertyException(String name,
                               Class type)
Constructs a NoSuchPropertyException with the specified detail message.

Parameters:
name - the name of the property that could not be found
type - class where the property was searched