Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.lang

Class NumberFormatException

java.lang.Object
|
+--java.lang.Throwable
   |
   +--java.lang.Exception
      |
      +--java.lang.RuntimeException
         |
         +--java.lang.IllegalArgumentException
            |
            +--java.lang.NumberFormatException


public class NumberFormatException

extends IllegalArgumentException

Can be thrown when attempting to convert a String to one of the numeric types, but the operation fails because the string has the wrong format.

Authors:

Constructor Summary

NumberFormatException()

Create an exception without a message.
NumberFormatException(java.lang.String s)

Create an exception with a message.

Constructor Details

NumberFormatException

public NumberFormatException()

Create an exception without a message.


NumberFormatException

public NumberFormatException(java.lang.String s)

Create an exception with a message.

Parameters: