Class ValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
build.buf.protovalidate.exceptions.ValidationException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CompilationException,ExecutionException
ValidationException is the base exception for all validation errors.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionValidationException(String message) Creates a ValidationException with the specified message.ValidationException(String message, Throwable cause) Creates a ValidationException with the specified message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ValidationException
Creates a ValidationException with the specified message.- Parameters:
message- Exception message.
-
ValidationException
Creates a ValidationException with the specified message and cause.- Parameters:
message- Exception message.cause- Underlying cause of the exception.
-