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
 
 public class RefOperationValidationException extends ValidationException 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:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description RefOperationValidationException(String reason, com.google.common.collect.ImmutableList<ValidationMessage> messages)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMessage()com.google.common.collect.ImmutableList<ValidationMessage>getMessages()- 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
RefOperationValidationExceptionpublic RefOperationValidationException(String reason, com.google.common.collect.ImmutableList<ValidationMessage> messages) 
 
- 
 - 
Method Detail- 
getMessagespublic com.google.common.collect.ImmutableList<ValidationMessage> getMessages() 
 - 
getMessagepublic String getMessage() - Overrides:
- getMessagein class- Throwable
 
 
- 
 
-