## Uses of Class
java.lang.IllegalArgumentException

- Packages that use IllegalArgumentException
  Package | Description
  --- | ---
  java.lang |
  java.lang.invoke |
  java.lang.ref | Provides reference-object classes, which support a limited degree of interaction with the garbage collector.
  java.lang.reflect | Provides classes and interfaces for obtaining reflective information about classes and objects.
  java.nio.charset |
  java.util.logging |
  java.util.regex | Classes for matching character sequences against patterns specified by regular expressions.

- - ### Uses of IllegalArgumentException in java.lang

    Subclasses of IllegalArgumentException in java.lang
    Modifier and Type | Class and Description
    --- | ---
    `class` | `NumberFormatException` Thrown to indicate that the application has attempted to convert a string to one of the numeric types, but that the string does not have the appropriate format.

  - ### Uses of IllegalArgumentException in java.lang.invoke

    Methods in java.lang.invoke that throw IllegalArgumentException
    Modifier and Type | Method and Description
    --- | ---
    `static MethodType` | MethodType.`fromMethodDescriptorString(String descriptor, ClassLoader loader)` Finds or creates an instance of a method type, given the spelling of its bytecode descriptor.

  - ### Uses of IllegalArgumentException in java.lang.ref

    Methods in java.lang.ref that throw IllegalArgumentException
    Modifier and Type | Method and Description
    --- | ---
    `Reference<? extends T>` | ReferenceQueue.`remove(long timeout)` Removes the next reference object in this queue, blocking until either one becomes available or the given timeout period expires.

  - ### Uses of IllegalArgumentException in java.lang.reflect

    Methods in java.lang.reflect that throw IllegalArgumentException
    Modifier and Type | Method and Description
    --- | ---
    `Object` | Field.`get(Object obj)` Returns the value of the field represented by this `Field`, on the specified object.
    `static Object` | Array.`get(Object array, int index)` Returns the value of the indexed component in the specified array object.
    `boolean` | Field.`getBoolean(Object obj)` Gets the value of a static or instance `boolean` field.
    `static boolean` | Array.`getBoolean(Object array, int index)` Returns the value of the indexed component in the specified array object, as a `boolean`.
    `byte` | Field.`getByte(Object obj)` Gets the value of a static or instance `byte` field.
    `static byte` | Array.`getByte(Object array, int index)` Returns the value of the indexed component in the specified array object, as a `byte`.
    `char` | Field.`getChar(Object obj)` Gets the value of a static or instance field of type `char` or of another primitive type convertible to type `char` via a widening conversion.
    `static char` | Array.`getChar(Object array, int index)` Returns the value of the indexed component in the specified array object, as a `char`.
    `double` | Field.`getDouble(Object obj)` Gets the value of a static or instance field of type `double` or of another primitive type convertible to type `double` via a widening conversion.
    `static double` | Array.`getDouble(Object array, int index)` Returns the value of the indexed component in the specified array object, as a `double`.
    `float` | Field.`getFloat(Object obj)` Gets the value of a static or instance field of type `float` or of another primitive type convertible to type `float` via a widening conversion.
    `static float` | Array.`getFloat(Object array, int index)` Returns the value of the indexed component in the specified array object, as a `float`.
    `int` | Field.`getInt(Object obj)` Gets the value of a static or instance field of type `int` or of another primitive type convertible to type `int` via a widening conversion.
    `static int` | Array.`getInt(Object array, int index)` Returns the value of the indexed component in the specified array object, as an `int`.
    `static InvocationHandler` | Proxy.`getInvocationHandler(Object proxy)` Returns the invocation handler for the specified proxy instance.
    `static int` | Array.`getLength(Object array)` Returns the length of the specified array object, as an `int`.
    `long` | Field.`getLong(Object obj)` Gets the value of a static or instance field of type `long` or of another primitive type convertible to type `long` via a widening conversion.
    `static long` | Array.`getLong(Object array, int index)` Returns the value of the indexed component in the specified array object, as a `long`.
    `static Class<?>` | Proxy.`getProxyClass(ClassLoader loader, Class<?>... interfaces)` Returns the `java.lang.Class` object for a proxy class given a class loader and an array of interfaces.
    `short` | Field.`getShort(Object obj)` Gets the value of a static or instance field of type `short` or of another primitive type convertible to type `short` via a widening conversion.
    `static short` | Array.`getShort(Object array, int index)` Returns the value of the indexed component in the specified array object, as a `short`.
    `Object` | Method.`invoke(Object obj, Object... args)` Invokes the underlying method represented by this `Method` object, on the specified object with the specified parameters.
    `static Object` | Array.`newInstance(Class<?> componentType, int... dimensions)` Creates a new array with the specified component type and dimensions.
    `T` | Constructor.`newInstance(Object... initargs)` Uses the constructor represented by this `Constructor` object to create and initialize a new instance of the constructor's declaring class, with the specified initialization parameters.
    `static Object` | Proxy.`newProxyInstance(ClassLoader loader, Class<?>[] interfaces, InvocationHandler h)` Returns an instance of a proxy class for the specified interfaces that dispatches method invocations to the specified invocation handler.
    `static void` | Array.`set(Object array, int index, Object value)` Sets the value of the indexed component of the specified array object to the specified new value.
    `void` | Field.`set(Object obj, Object value)` Sets the field represented by this `Field` object on the specified object argument to the specified new value.
    `void` | Field.`setBoolean(Object obj, boolean z)` Sets the value of a field as a `boolean` on the specified object.
    `static void` | Array.`setBoolean(Object array, int index, boolean z)` Sets the value of the indexed component of the specified array object to the specified `boolean` value.
    `void` | Field.`setByte(Object obj, byte b)` Sets the value of a field as a `byte` on the specified object.
    `static void` | Array.`setByte(Object array, int index, byte b)` Sets the value of the indexed component of the specified array object to the specified `byte` value.
    `void` | Field.`setChar(Object obj, char c)` Sets the value of a field as a `char` on the specified object.
    `static void` | Array.`setChar(Object array, int index, char c)` Sets the value of the indexed component of the specified array object to the specified `char` value.
    `void` | Field.`setDouble(Object obj, double d)` Sets the value of a field as a `double` on the specified object.
    `static void` | Array.`setDouble(Object array, int index, double d)` Sets the value of the indexed component of the specified array object to the specified `double` value.
    `void` | Field.`setFloat(Object obj, float f)` Sets the value of a field as a `float` on the specified object.
    `static void` | Array.`setFloat(Object array, int index, float f)` Sets the value of the indexed component of the specified array object to the specified `float` value.
    `void` | Field.`setInt(Object obj, int i)` Sets the value of a field as an `int` on the specified object.
    `static void` | Array.`setInt(Object array, int index, int i)` Sets the value of the indexed component of the specified array object to the specified `int` value.
    `static void` | Array.`setLong(Object array, int index, long l)` Sets the value of the indexed component of the specified array object to the specified `long` value.
    `void` | Field.`setLong(Object obj, long l)` Sets the value of a field as a `long` on the specified object.
    `static void` | Array.`setShort(Object array, int index, short s)` Sets the value of the indexed component of the specified array object to the specified `short` value.
    `void` | Field.`setShort(Object obj, short s)` Sets the value of a field as a `short` on the specified object.

  - ### Uses of IllegalArgumentException in java.nio.charset

    Subclasses of IllegalArgumentException in java.nio.charset
    Modifier and Type | Class and Description
    --- | ---
    `class` | `IllegalCharsetNameException` Unchecked exception thrown when a string that is not a legal charset name is used as such.
    `class` | `UnsupportedCharsetException` Unchecked exception thrown when no support is available for a requested charset.

  - ### Uses of IllegalArgumentException in java.util.logging

    Methods in java.util.logging that throw IllegalArgumentException
    Modifier and Type | Method and Description
    --- | ---
    `static Level` | Level.`parse(String name)` Parse a level name string into a Level.

  - ### Uses of IllegalArgumentException in java.util.regex

    Subclasses of IllegalArgumentException in java.util.regex
    Modifier and Type | Class and Description
    --- | ---
    `class` | `PatternSyntaxException` Unchecked exception thrown to indicate a syntax error in a regular-expression pattern.

Copyright © 2025 API Design. All Rights Reserved.