net.dpml.metro
Class ValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
net.dpml.component.ControlException
net.dpml.component.ModelException
net.dpml.metro.ValidationException
- All Implemented Interfaces:
- Serializable
public final class ValidationException
- extends ModelException
Exception that describes a series of validation issues.
- Version:
- 1.2.0
- Author:
- Digital Product Meta Library
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ValidationException
public ValidationException(URI uri,
Object source,
ValidationException.Issue[] issues)
- Creation of a new ValidationException.
- Parameters:
uri
- controller urisource
- the source objectissues
- the array of issues
getSource
public Object getSource()
- Return the source object.
- Returns:
- the source of the validation errors
getIssues
public ValidationException.Issue[] getIssues()
- Return the array iof issues.
- Returns:
- the issues array