public class PropertyException extends CayenneRuntimeException
Modifier and Type | Field and Description |
---|---|
protected Accessor |
accessor |
protected Property |
property |
protected Object |
source |
Constructor and Description |
---|
PropertyException(String messageFormat,
Accessor accessor,
Object source,
Object... messageArgs) |
PropertyException(String messageFormat,
Accessor accessor,
Object source,
Throwable cause,
Object... messageArgs) |
PropertyException(String messageFormat,
Object... messageArgs) |
PropertyException(String messageFormat,
Property property,
Object source,
Object... messageArgs) |
PropertyException(String messageFormat,
Property property,
Object source,
Throwable cause,
Object... messageArgs) |
PropertyException(String messageFormat,
Throwable cause,
Object... messageArgs) |
Modifier and Type | Method and Description |
---|---|
Accessor |
getAccessor()
Returns property descriptor that was used to access the property.
|
Property |
getProperty() |
Object |
getSource()
Returns an object that caused an error.
|
getMessage, getUnlabeledMessage
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected Property property
protected Accessor accessor
protected Object source
public PropertyException(String messageFormat, Throwable cause, Object... messageArgs)
public PropertyException(String messageFormat, Accessor accessor, Object source, Object... messageArgs)
public PropertyException(String messageFormat, Accessor accessor, Object source, Throwable cause, Object... messageArgs)
public PropertyException(String messageFormat, Property property, Object source, Object... messageArgs)
Copyright © 2001–2018 Apache Cayenne. All rights reserved.