# Class UnsupportedBuildArgumentException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.gradle.tooling.GradleConnectionException
org.gradle.tooling.exceptions.UnsupportedBuildArgumentException

All Implemented Interfaces:
  `Serializable`

public class UnsupportedBuildArgumentException extends GradleConnectionException
Thrown when the `LongRunningOperation` has been configured with unsupported build arguments. For more information see the `LongRunningOperation.withArguments(String...)` method.

Since:
  1.0
See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `UnsupportedBuildArgumentException(String message)`
  Creates a new `UnsupportedBuildArgumentException`.
  `UnsupportedBuildArgumentException(String message, Throwable cause)`
  Creates a new `UnsupportedBuildArgumentException`.

- ## Method Summary

  ### Methods inherited from class GradleConnectionException

  `getFailures`

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

  - ### UnsupportedBuildArgumentException

    public UnsupportedBuildArgumentException(String message)
    Creates a new `UnsupportedBuildArgumentException`.
    Since:
      1.0

  - ### UnsupportedBuildArgumentException

    public UnsupportedBuildArgumentException(String message, Throwable cause)
    Creates a new `UnsupportedBuildArgumentException`.
    Since:
      1.0