Class UnapprovedUsageException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.SecurityException
org.jenkinsci.plugins.scriptsecurity.scripts.UnapprovedUsageException
- All Implemented Interfaces:
Serializable
Exception thrown by
ScriptApproval.using(java.lang.String, org.jenkinsci.plugins.scriptsecurity.scripts.Language)
.- See Also:
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getHash
Gets a token which identifies the actual script to be rejected.- Returns:
- an opaque token as in
ApprovalListener.onApproved(java.lang.String)
-