Package: org.gradle.api.artifacts

## [Java] Class PublishException

- org.gradle.api.artifacts.PublishException

- A `PublishException` is thrown when a dependency configuration cannot be published for some reason.

- - ### Constructor Summary

    Constructors
    Constructor and description
    `PublishException (String message, Throwable cause)`
    `PublishException (String message)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class RuntimeException` | `printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, addSuppressed, getSuppressed, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll`

- - ### Constructor Detail

    - #### public PublishException(String message, Throwable cause)

    - #### public PublishException(String message)