Class CompilationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
build.buf.protovalidate.exceptions.ValidationException
build.buf.protovalidate.exceptions.CompilationException
- All Implemented Interfaces:
Serializable
CompilationException is returned when a rule fails to compile. This is a fatal error.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCompilationException(String message) Creates a CompilationException with the specified message.CompilationException(String message, Throwable cause) Creates a CompilationException 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
-
CompilationException
Creates a CompilationException with the specified message.- Parameters:
message- Exception message.
-
CompilationException
Creates a CompilationException with the specified message and cause.- Parameters:
message- Exception message.cause- Underlying cause of the exception.
-