IllegalCharsetNameException


IllegalCharsetNameException java.nio.charset

Java 1.4 serializable unchecked

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  ( );   } 



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net