Class CommentsRejectedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.google.gerrit.server.update.CommentsRejectedException
All Implemented Interfaces:
Serializable

public class CommentsRejectedException extends Exception
Thrown when comment validation rejected a comment, preventing it from being published.
See Also:
  • Constructor Details

  • Method Details

    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable
    • getCommentValidationFailures

      public com.google.common.collect.ImmutableList<CommentValidationFailure> getCommentValidationFailures()
      Returns the validation failures that caused this exception. By contract this list is never empty.