Class IdenticalPendingRequestException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
io.jenkins.plugins.batchcontrol.policy.IdenticalPendingRequestException
All Implemented Interfaces:
Serializable

@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public final class IdenticalPendingRequestException extends IllegalStateException
D-88 (#1.9): a run request submission identical to a PENDING request of the same user was not created. Nothing was stored, the submission's temporary files were disposed of and no approver was notified. getExistingRequestId() names the request the user already has; a browser is sent to its page, a script is answered 409 naming it.

An IllegalStateException, like every other state refusal of the service, so a caller that does not know this type still refuses the submission.

See Also:
  • Method Details

    • getExistingRequestId

      public String getExistingRequestId()
      The id of the user's identical PENDING run request.