Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cayenne.validation
Class ValidationException

    java.lang.Object
      java.lang.Throwable
          java.lang.Exception
              java.lang.RuntimeException
                  org.apache.cayenne.CayenneRuntimeException
                      org.apache.cayenne.validation.ValidationException

All Implemented Interfaces:
  Serializable

    public class ValidationException

extends CayenneRuntimeException

An exception thrown on unsuccessful validation.

Since:
  1.1
See Also:
  Serialized Form

Constructor Summary
`ValidationException(String message)`
`ValidationException(String message, ValidationResult result)`
`ValidationException(ValidationResult result)`

Method Summary
`ValidationResult` | `getValidationResult()`
`String` | `toString()`

Methods inherited from class org.apache.cayenne.CayenneRuntimeException
`getMessage, getUnlabeledMessage`

Methods inherited from class java.lang.Throwable
`fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### ValidationException

    public ValidationException(String message)

### ValidationException

    public ValidationException(ValidationResult result)

### ValidationException

    public ValidationException(String message,
                               ValidationResult result)

Method Detail

### getValidationResult

    public ValidationResult getValidationResult()

### toString

    public String toString()

  Overrides:
    `toString` in class `Throwable`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2008 Apache Cayenne. All Rights Reserved.