Uses of Class
java.lang.NumberFormatException
Packages that use NumberFormatException
Package
Description
Contains all of the classes for creating user interfaces and for painting
graphics and images.
Provides classes that are fundamental to the design of the Java
programming language.
Incubating Feature. Will be removed in a future release.
-
Uses of NumberFormatException in java.awt
Methods in java.awt that throw NumberFormatException -
Uses of NumberFormatException in java.lang
Methods in java.lang that throw NumberFormatExceptionModifier and TypeMethodDescriptionstatic ByteDecodes aStringinto aByte.static IntegerDecodes aStringinto anInteger.static LongDecodes aStringinto aLong.static ShortDecodes aStringinto aShort.booleanPackage.isCompatibleWith(String desired) Compare this package's specification version with a desired version.static byteParses the string argument as a signed decimalbyte.static byteParses the string argument as a signedbytein the radix specified by the second argument.static doubleDouble.parseDouble(String s) Returns a newdoubleinitialized to the value represented by the specifiedString, as performed by thevalueOfmethod of classDouble.static floatFloat.parseFloat(String s) Returns a newfloatinitialized to the value represented by the specifiedString, as performed by thevalueOfmethod of classFloat.static intInteger.parseInt(CharSequence s, int beginIndex, int endIndex, int radix) Parses theCharSequenceargument as a signedintin the specifiedradix, beginning at the specifiedbeginIndexand extending toendIndex - 1.static intParses the string argument as a signed decimal integer.static intParses the string argument as a signed integer in the radix specified by the second argument.static longLong.parseLong(CharSequence s, int beginIndex, int endIndex, int radix) Parses theCharSequenceargument as a signedlongin the specifiedradix, beginning at the specifiedbeginIndexand extending toendIndex - 1.static longParses the string argument as a signed decimallong.static longParses the string argument as a signedlongin the radix specified by the second argument.static shortShort.parseShort(String s) Parses the string argument as a signed decimalshort.static shortShort.parseShort(String s, int radix) Parses the string argument as a signedshortin the radix specified by the second argument.static intInteger.parseUnsignedInt(CharSequence s, int beginIndex, int endIndex, int radix) Parses theCharSequenceargument as an unsignedintin the specifiedradix, beginning at the specifiedbeginIndexand extending toendIndex - 1.static intInteger.parseUnsignedInt(String s) Parses the string argument as an unsigned decimal integer.static intInteger.parseUnsignedInt(String s, int radix) Parses the string argument as an unsigned integer in the radix specified by the second argument.static longLong.parseUnsignedLong(CharSequence s, int beginIndex, int endIndex, int radix) Parses theCharSequenceargument as an unsignedlongin the specifiedradix, beginning at the specifiedbeginIndexand extending toendIndex - 1.static longLong.parseUnsignedLong(String s) Parses the string argument as an unsigned decimallong.static longLong.parseUnsignedLong(String s, int radix) Parses the string argument as an unsignedlongin the radix specified by the second argument.static ByteReturns aByteobject holding the value given by the specifiedString.static ByteReturns aByteobject holding the value extracted from the specifiedStringwhen parsed with the radix given by the second argument.static DoubleReturns aDoubleobject holding thedoublevalue represented by the argument strings.static FloatReturns aFloatobject holding thefloatvalue represented by the argument strings.static IntegerReturns anIntegerobject holding the value of the specifiedString.static IntegerReturns anIntegerobject holding the value extracted from the specifiedStringwhen parsed with the radix given by the second argument.static LongReturns aLongobject holding the value of the specifiedString.static LongReturns aLongobject holding the value extracted from the specifiedStringwhen parsed with the radix given by the second argument.static ShortReturns aShortobject holding the value given by the specifiedString.static ShortReturns aShortobject holding the value extracted from the specifiedStringwhen parsed with the radix given by the second argument.Constructors in java.lang that throw NumberFormatExceptionModifierConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.It is rarely appropriate to use this constructor.Deprecated, for removal: This API element is subject to removal in a future version.It is rarely appropriate to use this constructor.Deprecated, for removal: This API element is subject to removal in a future version.It is rarely appropriate to use this constructor.Deprecated, for removal: This API element is subject to removal in a future version.It is rarely appropriate to use this constructor.Deprecated, for removal: This API element is subject to removal in a future version.It is rarely appropriate to use this constructor.Deprecated, for removal: This API element is subject to removal in a future version.It is rarely appropriate to use this constructor. -
Uses of NumberFormatException in jdk.incubator.vector
Methods in jdk.incubator.vector that throw NumberFormatException