# Class InvalidPluginException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.gradle.api.GradleException
org.gradle.api.plugins.InvalidPluginException

All Implemented Interfaces:
  `Serializable`

public class InvalidPluginException extends GradleException
Thrown when a plugin is found to be invalid when it is loaded.

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `InvalidPluginException(String message)`
  `InvalidPluginException(String message, Throwable cause)`

- ## Method Summary

  ### Methods inherited from class Throwable

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### InvalidPluginException

    public InvalidPluginException(String message)

  - ### InvalidPluginException

    public InvalidPluginException(String message, Throwable cause)