org.apache.cayenne.property
Class PropertyAccessException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.cayenne.CayenneRuntimeException
org.apache.cayenne.property.PropertyAccessException
- All Implemented Interfaces:
- java.io.Serializable
public class PropertyAccessException
- extends CayenneRuntimeException
An unchecked exception thrown on errors during property access.
- Since:
- 1.2
- Author:
- Andrus Adamchik
- See Also:
- Serialized Form
Method Summary |
PropertyAccessor |
getAccessor()
Returns property descriptor that was used to access the property. |
java.lang.Object |
getSource()
Returns an object that caused an error. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
accessor
protected PropertyAccessor accessor
source
protected java.lang.Object source
PropertyAccessException
public PropertyAccessException(java.lang.String message,
PropertyAccessor accessor,
java.lang.Object source)
PropertyAccessException
public PropertyAccessException(java.lang.String message,
PropertyAccessor accessor,
java.lang.Object source,
java.lang.Throwable cause)
getAccessor
public PropertyAccessor getAccessor()
- Returns property descriptor that was used to access the property. It may be null.
getSource
public java.lang.Object getSource()
- Returns an object that caused an error.
Copyright © 2001-2006 Apache.org All Rights Reserved.