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 Summary
Modifier and TypeMethodDescriptionThe id of the user's identical PENDING run request.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getExistingRequestId
The id of the user's identical PENDING run request.
-