public BigInteger (String val)

Translates the decimal String representation of a BigInteger into a BigInteger. The String representation consists of an optional minus sign followed by a sequence of one or more decimal digits. The character-to-digit mapping is provided by Character.digit. The String may not contain any extraneous characters (whitespace, for example).

val    decimal String representation of BigInteger.

NumberFormatException    val is not a valid representation of a BigInteger.

See also: