InvalidMavenPublicationException (Gradle API 8.14.5)
Description: declaration: package: org.gradle.api.publish.maven, class: InvalidMavenPublicationException

Package org.gradle.api.publish.maven

# Class InvalidMavenPublicationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.gradle.api.GradleException
org.gradle.api.InvalidUserDataException
org.gradle.api.publish.maven.InvalidMavenPublicationException

All Implemented Interfaces:
  `Serializable`

public class InvalidMavenPublicationException extends InvalidUserDataException
Thrown when attempting to publish with an invalid `MavenPublication`.

Since:
  1.4
See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `InvalidMavenPublicationException(String publicationName, String error)`
  `InvalidMavenPublicationException(String publicationName, String error, Throwable cause)`

- ## Method Summary

  ### Methods inherited from class java.lang.Throwable

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

  ### Methods inherited from class java.lang.Object

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

- ## Constructor Details

  - ### InvalidMavenPublicationException

    public InvalidMavenPublicationException(String publicationName, String error)

  - ### InvalidMavenPublicationException

    public InvalidMavenPublicationException(String publicationName, String error, Throwable cause)