public class


extends ArgumentValidationException
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ com.atlassian.stash.exception.ServiceException
           ↳ com.atlassian.stash.exception.ArgumentValidationException
             ↳ com.atlassian.stash.pull.UnmodifiablePullRequestRoleException

Class Overview

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.


Public Constructors
UnmodifiablePullRequestRoleException(KeyedMessage message)
Inherited Methods
From class com.atlassian.stash.exception.ServiceException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public UnmodifiablePullRequestRoleException (KeyedMessage message)