IOException.java in  » JDK-Core » io-nio » java » io » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. JDK Core
2. JDK Modules
3. JDK Modules com.sun
4. JDK Modules com.sun.java
5. JDK Modules Platform
6. JDK Modules sun
7. Open Source Graphic Library
8. Open Source IDE Eclipse
9. Open Source J2EE
10. Open Source JBOSS
11. Open Source JDBC Driver
12. Open Source Library
13. Open Source Library Database
14. Open Source Net
15. Science
16. Sevlet Container
17. SUN GlassFish
18. Swing Library
19. Web Services apache cxf 2.0.1
20. Web Services AXIS2
21. XML
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
C# / C Sharp
C# / CSharp Tutorial
ASP.Net
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
PHP
Python
SQL Server / T-SQL
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Java Source Code / Java Documentation » JDK Core » io nio » java.io 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         java.io.IOException

All known Subclasses:   java.io.EOFException,  java.io.UnsupportedEncodingException,  java.io.FileNotFoundException,  java.io.CharConversionException,  java.io.UTFDataFormatException,  java.io.InterruptedIOException,  java.io.SyncFailedException,  java.io.ObjectStreamException,
IOException
public class IOException extends Exception (Code)
Signals that an I/O exception of some sort has occurred. This class is the general class of exceptions produced by failed or interrupted I/O operations.
author:
   unascribed
version:
   1.30, 05/05/07
See Also:   java.io.InputStream
See Also:   java.io.OutputStream
since:
   JDK1.0


Field Summary
final static  longserialVersionUID
    

Constructor Summary
public  IOException()
     Constructs an IOException with null as its error detail message.
public  IOException(String message)
     Constructs an IOException with the specified detail message.
public  IOException(String message, Throwable cause)
     Constructs an IOException with the specified detail message and cause.

Note that the detail message associated with cause is not automatically incorporated into this exception's detail message.
Parameters:
  message - The detail message (which is saved for later retrievalby the IOException.getMessage() method)
Parameters:
  cause - The cause (which is saved for later retrieval by theIOException.getCause() method).

public  IOException(Throwable cause)
     Constructs an IOException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause ). This constructor is useful for IO exceptions that are little more than wrappers for other throwables.
Parameters:
  cause - The cause (which is saved for later retrieval by theIOException.getCause() method).


Field Detail
serialVersionUID
final static long serialVersionUID(Code)




Constructor Detail
IOException
public IOException()(Code)
Constructs an IOException with null as its error detail message.



IOException
public IOException(String message)(Code)
Constructs an IOException with the specified detail message.
Parameters:
  message - The detail message (which is saved for later retrievalby the IOException.getMessage() method)



IOException
public IOException(String message, Throwable cause)(Code)
Constructs an IOException with the specified detail message and cause.

Note that the detail message associated with cause is not automatically incorporated into this exception's detail message.
Parameters:
  message - The detail message (which is saved for later retrievalby the IOException.getMessage() method)
Parameters:
  cause - The cause (which is saved for later retrieval by theIOException.getCause() method). (A null value is permitted,and indicates that the cause is nonexistent or unknown.)
since:
   1.6




IOException
public IOException(Throwable cause)(Code)
Constructs an IOException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause ). This constructor is useful for IO exceptions that are little more than wrappers for other throwables.
Parameters:
  cause - The cause (which is saved for later retrieval by theIOException.getCause() method). (A null value is permitted,and indicates that the cause is nonexistent or unknown.)
since:
   1.6





Methods inherited from java.lang.Throwable
native public synchronized Throwable fillInStackTrace()(Code)(Java Doc)
public Throwable getCause()(Code)(Java Doc)
public String getLocalizedMessage()(Code)(Java Doc)
public String getMessage()(Code)(Java Doc)
public StackTraceElement[] getStackTrace()(Code)(Java Doc)
public synchronized Throwable initCause(Throwable cause)(Code)(Java Doc)
public void printStackTrace()(Code)(Java Doc)
public void printStackTrace(PrintStream s)(Code)(Java Doc)
public void printStackTrace(PrintWriter s)(Code)(Java Doc)
public void setStackTrace(StackTraceElement[] stackTrace)(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

ww___w_.___ja__v___a2__s_.__co_m
Home | Contact Us
Copyright 2003 - 07 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.