Class SimpleValidationFailure

java.lang.Object
org.apache.cayenne.validation.SimpleValidationFailure
All Implemented Interfaces:
Serializable, ValidationFailure
Direct Known Subclasses:
BeanValidationFailure

public class SimpleValidationFailure extends Object implements ValidationFailure
Represents a generic validation failure that contains failed object and a message describing the failure.
Since:
1.1
See Also:
  • Field Details

    • source

      protected Object source
    • error

      protected Object error
  • Constructor Details

    • SimpleValidationFailure

      public SimpleValidationFailure(Object source, Object error)
  • Method Details