Package org.apache.commons.text.lookup
Class IllegalArgumentExceptions
java.lang.Object
org.apache.commons.text.lookup.IllegalArgumentExceptions
Shorthands creating
IllegalArgumentException instances using formatted strings.- Since:
- 1.3
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static IllegalArgumentExceptionCreates anIllegalArgumentExceptionwith a message formatted withString.format(String,Object...).(package private) static IllegalArgumentExceptionCreates anIllegalArgumentExceptionwith a message formatted withString.format(String,Object...).
-
Constructor Details
-
IllegalArgumentExceptions
private IllegalArgumentExceptions()No need to build instances.
-
-
Method Details
-
format
Creates anIllegalArgumentExceptionwith a message formatted withString.format(String,Object...).- Parameters:
format- SeeString.format(String,Object...)args- SeeString.format(String,Object...)- Returns:
- an
IllegalArgumentExceptionwith a message formatted withString.format(String,Object...)
-
format
Creates anIllegalArgumentExceptionwith a message formatted withString.format(String,Object...).- Parameters:
t- the throwable causeformat- SeeString.format(String,Object...)args- SeeString.format(String,Object...)- Returns:
- an
IllegalArgumentExceptionwith a message formatted withString.format(String,Object...)
-