Top Description Constructors Methods
org.apache.commons.text.lookup

pack-priv final Class IllegalArgumentExceptions

extends Object
Class Inheritance

Shorthands creating IllegalArgumentException instances using formatted strings.
Since
1.3

Constructor Summary

AccessConstructor and Description
private
IllegalArgumentExceptions()

No need to build instances.

Method Summary

Modifier and TypeMethod and Description
pack-priv static IllegalArgumentException
pack-priv static IllegalArgumentException

Returns:

an IllegalArgumentException with a message formatted with String#format(String, Object...).
format
(final Throwable
the throwable cause.
t
,
final String format, final Object... args)

Creates an IllegalArgumentException with a message formatted with String#format(String, Object...).

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

IllegalArgumentExceptionsback to summary
private IllegalArgumentExceptions()

No need to build instances.

Method Detail

formatback to summary
pack-priv static IllegalArgumentException format(final String format, final Object... args)

Creates an IllegalArgumentException with a message formatted with String#format(String, Object...).

Parameters
format:String

See String#format(String, Object...).

args:Object[]

See String#format(String, Object...).

Returns:IllegalArgumentException

an IllegalArgumentException with a message formatted with String#format(String, Object...).

formatback to summary
pack-priv static IllegalArgumentException format(final Throwable t, final String format, final Object... args)

Creates an IllegalArgumentException with a message formatted with String#format(String, Object...).

Parameters
t:Throwable

the throwable cause.

format:String

See String#format(String, Object...).

args:Object[]

See String#format(String, Object...).

Returns:IllegalArgumentException

an IllegalArgumentException with a message formatted with String#format(String, Object...).