Skip to content

Commit

Permalink
JENKINS-46882 allow new Exceptions to be thrown
Browse files Browse the repository at this point in the history
new Execption("foo") is currently not permitted, but is very useful to
do and is a standard/safe thing in a Jenkinsfile
  • Loading branch information
James Hogarth committed Apr 16, 2018
1 parent 4fc47a3 commit b458413
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -53,6 +53,7 @@ method java.lang.Comparable compareTo java.lang.Object
new java.lang.Enum java.lang.String int
method java.lang.Enum name
method java.lang.Enum ordinal
new java.lang.Exception java.lang.String
staticField java.lang.Integer MAX_VALUE
# could add valueOf, though currently the staticField’s need to be whitelisted, which is the more likely use case
staticMethod java.lang.Integer parseInt java.lang.String
Expand Down

0 comments on commit b458413

Please sign in to comment.