Class ValidationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.google.gerrit.server.validators.ValidationException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CommitValidationException
,MergeValidationException
,RefOperationValidationException
public class ValidationException extends Exception
Exception to be thrown either directly or subclassed indicating that we failed to validate a Git operation. Failures range from internal checks for NoteDb format and consistency to plugin-provided checks.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValidationException(String reason)
ValidationException(String reason, Throwable why)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-