Class RefOperationValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.google.gerrit.server.validators.ValidationException
com.google.gerrit.server.git.validators.RefOperationValidationException
- All Implemented Interfaces:
Serializable
Exception to be thrown when the validation of a ref operation fails and should be aborted.
Examples of a ref operations include creating or updating refs.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRefOperationValidationException
(String reason, com.google.common.collect.ImmutableList<ValidationMessage> messages) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RefOperationValidationException
public RefOperationValidationException(String reason, com.google.common.collect.ImmutableList<ValidationMessage> messages)
-
-
Method Details
-
getMessages
-
getMessage
- Overrides:
getMessage
in classThrowable
-