org.apache.cayenne.reflect
Class PropertyException
java.lang.Object
   java.lang.Throwable
java.lang.Throwable
       java.lang.Exception
java.lang.Exception
           java.lang.RuntimeException
java.lang.RuntimeException
               org.apache.cayenne.CayenneRuntimeException
org.apache.cayenne.CayenneRuntimeException
                   org.apache.cayenne.reflect.PropertyException
org.apache.cayenne.reflect.PropertyException
- All Implemented Interfaces: 
- Serializable
- public class PropertyException 
- extends CayenneRuntimeException
An unchecked exception thrown on errors during property access, either within a
 Accessor or a Property.
- Since:
- 3.0
- See Also:
- Serialized Form
 
| Constructor Summary | 
| PropertyException(String message)
 | 
| PropertyException(String message,
                  Accessor accessor,
                  Object source)
 | 
| PropertyException(String message,
                  Accessor accessor,
                  Object source,
                  Throwable cause)
 | 
| PropertyException(String message,
                  Property property,
                  Object source)
 | 
| PropertyException(String message,
                  Property property,
                  Object source,
                  Throwable cause)
 | 
| PropertyException(String message,
                  Throwable cause)
 | 
 
 
 
 
 
property
protected Property property
accessor
protected Accessor accessor
source
protected Object source
PropertyException
public PropertyException(String message)
PropertyException
public PropertyException(String message,
                         Throwable cause)
PropertyException
public PropertyException(String message,
                         Accessor accessor,
                         Object source)
PropertyException
public PropertyException(String message,
                         Accessor accessor,
                         Object source,
                         Throwable cause)
PropertyException
public PropertyException(String message,
                         Property property,
                         Object source)
PropertyException
public PropertyException(String message,
                         Property property,
                         Object source,
                         Throwable cause)
getAccessor
public Accessor getAccessor()
- Returns property descriptor that was used to access the property. It may be null.
 
- 
 
getProperty
public Property getProperty()
- 
 
getSource
public Object getSource()
- Returns an object that caused an error.
 
- 
 
Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.