Package io.ocfl.api.exception
Class ValidationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.ocfl.api.exception.OcflJavaException
-
- io.ocfl.api.exception.ValidationException
-
- All Implemented Interfaces:
Serializable
public class ValidationException extends OcflJavaException
This exception indicates that there were object validation errors- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValidationException(String message, ValidationResults results)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMessage()
ValidationResults
getValidationResults()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ValidationException
public ValidationException(String message, ValidationResults results)
-
-
Method Detail
-
getValidationResults
public ValidationResults getValidationResults()
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
-