Name

NumberFormatException

Synopsis

Signals an illegal number format.

java.lang.NumberFormatException

Figure 10-48. java.lang.NumberFormatException

public class NumberFormatException extends IllegalArgumentException {
// Public Constructors
     public NumberFormatException( );  
     public NumberFormatException(String s);  
}

Thrown By

Too many methods to list.

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.