Skip to content

Most visited

Recently visited

Added in API level 1


public class IllegalFormatException
extends IllegalArgumentException implements Serializable

   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ java.lang.IllegalArgumentException
           ↳ java.util.IllegalFormatException
Known Direct Subclasses

An IllegalFormatException is thrown when a format string that contains either an illegal syntax or format specifier is transferred as a parameter. Only subclasses inheriting explicitly from this exception are allowed to be instantiated.

See also:


Inherited methods

From class java.lang.Throwable
From class java.lang.Object
This site uses cookies to store your preferences for site-specific language and display options.


This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.