March 2005
Beginner to intermediate
1254 pages
104h 21m
English
IllegalCharsetNameException
Signals
that
a charset name (for example one passed to Charset.forName(
) or Charset.isSupported( )) is not
legal. Charset names may contain only the characters A-Z (in upper-
and lowercase), the digits 0-9, and hyphens, underscores, colons, and
periods. They must begin with a letter or a digit, not with a
punctuation character.
Figure 13-50. java.nio.charset.IllegalCharsetNameException
public class IllegalCharsetNameException extends IllegalArgumentException { // Public Constructors public IllegalCharsetNameException(String charsetName); // Public Instance Methods public String getCharsetName( ); }
Read now
Unlock full access