public interface ValidationFailure extends Serializable
BeanValidationFailure
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Returns a String representation of the error object.
|
Object |
getError()
Returns an user defined error object.
|
Object |
getSource()
Returns the object that has generated the failure.
|
Object getSource()
Person
must have a name and a ValidationFailure
is created when the
user attempts to save it, the Person
object would be the failure source.Object getError()
String getDescription()
Copyright © 2001–2018 Apache Cayenne. All rights reserved.