Name

InterruptedIOException

Synopsis

This is an exception that is thrown when an I/O operation is interrupted, usually as a result of a timeout. The bytesTransferred() method can be used to find out how much data, if any, was transferred before the interruption occurred. This class is the same as its J2SE equivalent, apart from its inability to be serialized.

                  
public class InterruptedIOException extends IOException {
// Public Constructors
   public InterruptedIOException();  
   public InterruptedIOException( String s);    
// Public Instance Fields
   public int bytesTransferred;  
}

Get J2ME in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.