Class ValidationException
Exception thrown by DataObject::write if validation fails. By
throwing an exception rather than a user error, the exception can be caught in
unit tests and as such can be used as a successful test.
- Exception
-
ValidationException
Methods summary
public
|
|
public
|
Methods inherited from Exception
__toString(),
__wakeup(),
getCode(),
getFile(),
getLine(),
getMessage(),
getPrevious(),
getTrace(),
getTraceAsString()
Magic methods summary
Properties summary
protected
{@link
|
$result |
#
ValidationResult} or string |