|  
      JavaTM Platform Standard Ed. 6  |  
    |||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
javax.imageio.IIOException
public class IIOException
     该异常类用于发出关于读取和写入操作的运行时故障的信号。
 除了消息字符串以外,也维护对另一个 Throwable(Error 或 Exception)的引用。此引用(如果为非 null)引用导致此异常发生的事件。例如,从 File 中进行读取时发生的 IOException 将存储在这里。 
| 构造方法摘要 | |
|---|---|
IIOException(String message) 构造带有给定消息 String 的 IIOException。 |  
    |
IIOException(String message, Throwable cause) 构造一个 IIOException,使其带有给定消息 String 以及作为其底层 cause 的 Throwable。 |  
    |
| 方法摘要 | 
|---|
| 从类 java.lang.Throwable 继承的方法 | 
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |  
    
| 从类 java.lang.Object 继承的方法 | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |  
    
| 构造方法详细信息 | 
|---|
public IIOException(String message)
String 的 
    IIOException。没有设置任何底层 cause;
    getCause 将返回 
    null。 
    
message - 错误消息。
     Throwable.getMessage()
     
public IIOException(String message,
                    Throwable cause) 
  IIOException,使其带有给定消息 
    String 以及作为其底层 cause 的 
    Throwable。 
    
message - 错误消息。
     cause - 造成此异常发生的 
      Throwable(
      Error 或 
      Exception)。
     Throwable.getCause(), 
      Throwable.getMessage()
      
        
      
  |  
      JavaTM Platform Standard Ed. 6  |  
    |||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。