目录搜索
文字
分享


JavaTM 2 Platform
Standard Ed. 6

java.nio.charset
类 UnmappableCharacterException

1

2

3

4

5

6

java.lang.Object

  <img src="../../../resources/inherit.gif" alt="继承者 ">java.lang.Throwable

      <img src="../../../resources/inherit.gif" alt="继承者 ">java.lang.Exception

          <img src="../../../resources/inherit.gif" alt="继承者 ">java.io.IOException

              <img src="../../../resources/inherit.gif" alt="继承者 ">java.nio.charset.CharacterCodingException

                  <img src="../../../resources/inherit.gif" alt="继承者 "><b>java.nio.charset.UnmappableCharacterException</b>

所有已实现的接口:
Serializable

1

public class <b>UnmappableCharacterException</b>

extends CharacterCodingException

当输入字符(或字节)序列有效,但不能被映射为输出字节(或字符)序列时,抛出此经过检查的异常。

从以下版本开始:
1.4
另请参见:
序列化表格

构造方法摘要
UnmappableCharacterException(int inputLength)
           
 
方法摘要
 int getInputLength()
           
 String getMessage()
          返回此 throwable 的详细消息字符串。
 
从类 java.lang.Throwable 继承的方法
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

UnmappableCharacterException

1

public <b>UnmappableCharacterException</b>(int inputLength)

方法详细信息

getInputLength

1

public int <b>getInputLength</b>()


getMessage

1

public String <b>getMessage</b>()

从类 Throwable 复制的描述
返回此 throwable 的详细消息字符串。

覆盖:
Throwable 中的 getMessage
返回:
Throwable 实例(可以为 null)的详细消息字符串。

JavaTM 2 Platform
Standard Ed. 6

提交错误或意见
有关更多的 API 参考资料和开发人员文档,请参阅 Java 2 SDK SE 开发人员文档。该文档包含更详细的、面向开发人员的描述,以及总体概述、术语定义、使用技巧和工作代码示例。

版权所有 2004 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。

上一篇:下一篇: