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

public class RestrictedApiException extends RuntimeException
Thrown when the access-modifier checker finds usages of @Restricted APIs.
See Also:
  • Constructor Details

    • RestrictedApiException

      public RestrictedApiException()
      Constructs the exception with a standard message pointing to Jenkins' restricted-API documentation.