Class RestrictedApiException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jenkinsci.gradle.plugins.jpi2.accmod.RestrictedApiException
- All Implemented Interfaces:
Serializable
Thrown when the access-modifier checker finds usages of
@Restricted APIs.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs the exception with a standard message pointing to Jenkins' restricted-API documentation. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RestrictedApiException
public RestrictedApiException()Constructs the exception with a standard message pointing to Jenkins' restricted-API documentation.
-