Package org.gradle.api.artifacts.transform

## Class ArtifactTransformException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - org.gradle.api.GradleException
        - - org.gradle.api.artifacts.transform.ArtifactTransformException

- All Implemented Interfaces:
    `java.io.Serializable`

      @Deprecated
      public class ArtifactTransformException
      extends GradleException

  Deprecated.
  An exception to report a problem during transformation execution.
  Since:
    3.4
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ArtifactTransformException​(java.io.File input, AttributeContainer expectedAttributes, java.lang.Class<? extends ArtifactTransform> transform, java.lang.Throwable cause)` | Deprecated.
    `ArtifactTransformException​(java.io.File file, AttributeContainer expectedAttributes, java.lang.Throwable cause)` | Deprecated. Capture a failure during the execution of a file-based transformation.
    `ArtifactTransformException​(ComponentArtifactIdentifier artifact, AttributeContainer expectedAttributes, java.lang.Throwable cause)` | Deprecated. Capture a failure during the execution of a file-based transformation.

  - ### 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 Detail

    - #### ArtifactTransformException

          public ArtifactTransformException​(java.io.File input,
                                            AttributeContainer expectedAttributes,
                                            java.lang.Class<? extends ArtifactTransform> transform,
                                            java.lang.Throwable cause)

      Deprecated.

    - #### ArtifactTransformException

          public ArtifactTransformException​(java.io.File file,
                                            AttributeContainer expectedAttributes,
                                            java.lang.Throwable cause)

      Deprecated.
      Capture a failure during the execution of a file-based transformation.
      Since:
        5.1

    - #### ArtifactTransformException

          public ArtifactTransformException​(ComponentArtifactIdentifier artifact,
                                            AttributeContainer expectedAttributes,
                                            java.lang.Throwable cause)

      Deprecated.
      Capture a failure during the execution of a file-based transformation.
      Since:
        5.1