Class UnmodifiablePullRequestRoleException

All Implemented Interfaces:
Serializable

public class UnmodifiablePullRequestRoleException extends ArgumentValidationException
Thrown when attempting to modify the author of a pull request. A pull request's author cannot be assigned to any other role, nor can they be removed. For example, attempting to reassign the author of a pull request as a reviewer may trigger this exception.
See Also:
  • Constructor Details

    • UnmodifiablePullRequestRoleException

      public UnmodifiablePullRequestRoleException(KeyedMessage message)