"

2013 FRC Java API

"

Uses of Class
java.io.IOException

Packages that use IOException
com.sun.cldc.i18n   
com.sun.cldc.i18n.j2me   
com.sun.cldc.io Provides base class for all connections. 
com.sun.squawk Provides classes for low level interactions with the Squawk VM. 
com.sun.squawk.debugger   
com.sun.squawk.debugger.sda The classes that implement the Squawk VM side of the SDWP. 
com.sun.squawk.io Provides classes from MIDP or unsupportable optional JSRs that are usually in javax.microedition.io, but are not legally in IMP. 
com.sun.squawk.io.connections   
com.sun.squawk.io.j2me.channel   
com.sun.squawk.io.j2me.debug   
com.sun.squawk.io.j2me.dserror   
com.sun.squawk.io.j2me.file   
com.sun.squawk.io.j2me.http   
com.sun.squawk.io.j2me.multicastoutput   
com.sun.squawk.io.j2me.serversocket   
com.sun.squawk.io.j2me.socket   
com.sun.squawk.io.mailboxes Provides classes for inter-Isolate communication. 
com.sun.squawk.microedition.io Provides classes from MIDP or unsupportable optional JSRs that are usually in javax.microedition.io, but are not legally in IMP. 
com.sun.squawk.peripheral   
com.sun.squawk.platform Classes that define and provide platform-specific implementations of various features of the JVM. 
com.sun.squawk.platform.posix Classes that define and provide POSIX-specific implementations of various features of the JVM. 
com.sun.squawk.platform.windows Classes that define and provide MS Windows-specific implementations of various features of the JVM. 
com.sun.squawk.rms   
com.sun.squawk.util Provides classes for basic utilities sometimes found in JSE (LineReader, unsynchronized Vectors, Math utilities, etc.) 
edu.wpi.first.wpilibj.can   
java.io Provides classes for input and output through data streams. 
javax.microedition.io Classes for the Generic Connection framework. 
 

Uses of IOException in com.sun.cldc.i18n
 

Methods in com.sun.cldc.i18n that throw IOException
 void StreamReader.close()
          Close the stream.
 void StreamWriter.close()
          Close the writer and the output stream.
 void StreamWriter.flush()
          Flush the writer and the output stream.
 void StreamReader.mark(int readAheadLimit)
          Mark the present position in the stream.
 void StreamReader.reset()
          Reset the stream.
 

Uses of IOException in com.sun.cldc.i18n.j2me
 

Methods in com.sun.cldc.i18n.j2me that throw IOException
 int ISO8859_1_Reader.read()
          Read a single character.
 int ISO8859_1_Reader.read(char[] cbuf, int off, int len)
          Read characters into a portion of an array.
 void ISO8859_1_Writer.write(char[] cbuf, int off, int len)
          Write a portion of an array of characters.
 void ISO8859_1_Writer.write(int c)
          Write a single character.
 void ISO8859_1_Writer.write(String str, int off, int len)
          Write a portion of a string.
 

Uses of IOException in com.sun.cldc.io
 

Methods in com.sun.cldc.io that throw IOException
 void ConnectionBaseInterface.close()
           
 Connection ConnectionBaseInterface.openPrim(String name, int mode, boolean timeouts)
           
 

Uses of IOException in com.sun.squawk
 

Methods in com.sun.squawk that throw IOException
static int VM.execIO(int op, int channel, int i1, int i2, int i3, int i4, int i5, int i6, Object send, Object receive)
          Executes a I/O operation that may block.
static long VM.execIOLong(int op, int channel, int i1, int i2, int i3, int i4, int i5, int i6, Object send, Object receive)
          Executes an I/O operation that returns a long value.
static void VM.freeChannel(int channel)
          Frees a channel.
static int VM.getChannel(int type)
          Gets a new IO channel.
 void Isolate.hibernate()
          Hibernate the isolate.
static ObjectMemoryFile ObjectMemoryLoader.load(String uri, boolean loadIntoReadOnlyMemory)
          Loads an object memory from a given input stream.
 void Isolate.save(DataOutputStream dos, String uri)
          Serializes the object graph rooted by this hibernated isolate and writes it to a given stream.
 void Suite.save(DataOutputStream dos, String uri)
          Serializes the object graph rooted by this suite and writes it to a given stream.
 void Isolate.save(DataOutputStream dos, String uri, boolean bigEndian)
          Serializes the object graph rooted by this hibernated isolate and writes it to a given stream.
 ObjectMemory Suite.save(DataOutputStream dos, String uri, boolean bigEndian)
          Serializes the object graph rooted by this suite and writes it to a given stream.
static void ObjectMemorySerializer.save(DataOutputStream dos, String uri, ObjectMemorySerializer.ControlBlock cb, ObjectMemory parent, boolean bigEndian)
          Writes a serialized object memory to a given output stream.
 void Suite.saveKlassMetadatas(DataOutputStream dos, String uri)
          Serializes the object graph rooted by this suite and writes it to a given stream.
 void Suite.saveKlassMetadatas(DataOutputStream dos, String uri, boolean bigEndian)
          Serializes the object graph rooted by this suite and writes it to a given stream.
 

Uses of IOException in com.sun.squawk.debugger
 

Subclasses of IOException in com.sun.squawk.debugger
static class JDWPConnection.ClosedException
           
 

Methods in com.sun.squawk.debugger that throw IOException
 void PacketInputStream.close()
          Closes this stream and its underlying stream.
 void PacketOutputStream.close(String s)
          Closes this stream and its underlying stream.
 void EventManager.consumeEvent(Debugger.Event event)
          Consumes an event from an event producer.
 void EventNotifier.Consumer.consumeEvent(Debugger.Event event)
          Consumes an event.
 void PacketOutputStream.copyTaggedValue(PacketInputStream in)
          Copy a tagged value (primitive or object) from the input stream to the output stream.
 void PacketOutputStream.copyValue(int tag, PacketInputStream in)
          Copy a value (primitive or object) from the input stream to the output stream.
protected abstract  boolean JDWPListener.CommandSet.dispatch()
          Dispatches to the handler for the specific command in the command set.
 boolean JDWPListener.CommandSet.handle(JDWPListener listener, CommandPacket command)
          Handles a command packet by setting up the variables used to interpret and reply to the command and then dispatching to the specific command handler.
 void JDWPListener.open(String url, byte[] handshake, boolean initiate, boolean isJDB, Runnable delayer)
          Opens the connection used by this listener and performs a handshake with the remote host once the connection has been established.
protected abstract  void JDWPListener.processCommand(CommandPacket command)
          Processes a single command received over this listeners connection.
 boolean PacketInputStream.readBoolean(String s)
          Reads a boolean value from this stream.
 byte PacketInputStream.readByte(String s)
          Reads one byte from this stream.
 char PacketInputStream.readChar(String s)
          Reads a char value from this stream.
 double PacketInputStream.readDouble(String s)
          Reads a double value from this stream.
 DataType.FieldID PacketInputStream.readFieldID(String s)
           
 float PacketInputStream.readFloat(String s)
          Reads a float value from this stream.
 DataType.FrameID PacketInputStream.readFrameID(String s)
           
 int PacketInputStream.readInt(String s)
          Reads an int value from this stream.
 DataType.Location PacketInputStream.readLocation(String s)
           
 long PacketInputStream.readLong(String s)
          Reads a long value from this stream.
 DataType.MethodID PacketInputStream.readMethodID(String s)
           
protected  EventRequestModifier EventRequest.readModifier(PacketInputStream in, int kind)
          Creates a EventRequestModifier from a given PacketInputStream.
 DataType.ObjectID PacketInputStream.readObjectID(String s)
           
 DataType.ReferenceTypeID PacketInputStream.readReferenceTypeID(String s)
           
 short PacketInputStream.readShort(String s)
          Reads a short value from this stream.
 String PacketInputStream.readString(String s)
          Reads from the stream a representation of a Unicode character string encoded in Java modified UTF-8 format; this string of characters is then returned as a String.
 DataType.TaggedObjectID PacketInputStream.readTaggedObjectID(String s)
           
abstract  void EventManager.send(Debugger.Event event, EventManager.MatchedRequests mr)
           
 ReplyPacket JDWPListener.sendCommand(CommandPacket command)
          Sends a command packet over this connection.
 void JDWPListener.sendReply(ReplyPacket reply)
           
 int PacketInputStream.skipBytes(int n)
          Attempts to skip over n bytes in the stream.
 void Packet.write(DataOutputStream dos)
          Writes this packet to a given output stream.
 void PacketOutputStream.writeBoolean(boolean value, String s)
          Writes a boolean value to this stream.
 void PacketOutputStream.writeByte(int value, String s)
          Writes one byte to this stream.
 void PacketOutputStream.writeChar(char value, String s)
          Writes a char value to this stream.
 void PacketOutputStream.writeDouble(double value, String s)
          Writes a double value to this stream.
 void PacketOutputStream.writeFieldID(DataType.FieldID value, String s)
           
protected  void CommandPacket.writeFields(DataOutputStream dos)
          Write the set and command fields to dos
protected abstract  void Packet.writeFields(DataOutputStream dos)
          Hook for sublasses to write their specific fields to a packet being sent.
protected  void ReplyPacket.writeFields(DataOutputStream dos)
          Hook for sublasses to write their specific fields to a packet being sent.
 void PacketOutputStream.writeFloat(float value, String s)
          Writes a float value to this stream.
 void PacketOutputStream.writeFrameID(DataType.FrameID value, String s)
           
 void PacketOutputStream.writeInt(int value, String s)
          Writes an int value to this stream.
 void PacketOutputStream.writeLocation(DataType.Location value, String s)
           
 void PacketOutputStream.writeLong(long value, String s)
          Writes a long value to this stream.
 void PacketOutputStream.writeMethodID(DataType.MethodID value, String s)
           
 void PacketOutputStream.writeNullLocation(String s)
           
 void PacketOutputStream.writeObjectID(DataType.ObjectID value, String s)
           
 void PacketOutputStream.writePrimitive(byte tag, long value, String s)
          Writes a primitive value to this stream preceeded by a tag describing the type and data size (in bytes) of the value.
 void PacketOutputStream.writeReferenceTypeID(DataType.ReferenceTypeID value, String s)
           
 void PacketOutputStream.writeShort(short value, String s)
          Writes a short value to this stream.
 void PacketOutputStream.writeString(String value, String s)
          Writes a string to the underlying output stream using UTF-8 encoding in a machine-independent manner.
 void PacketOutputStream.writeTaggedObjectID(DataType.TaggedObjectID value, String s)
           
 

Constructors in com.sun.squawk.debugger that throw IOException
CommandPacket(int id, int dataLength, DataInputStream data, int set, int command, boolean needsReply)
          Creates a packet to encapsulate a received JDWP command packet.
EventRequest(int id, PacketInputStream in, int kind)
          Creates an EventRequest based on the data read from a JDWP packet.
EventRequestModifier.ClassMatch(PacketInputStream in, int kind, boolean exclude)
          Creates a ClassMatch modifier.
EventRequestModifier.ClassOnly(PacketInputStream in, int kind)
          Creates a ClassOnly modifier.
EventRequestModifier.Count(PacketInputStream in)
          Creates a Count modifier.
EventRequestModifier.ExceptionOnly(PacketInputStream in, int kind)
          Creates an ExceptionOnly.
EventRequestModifier.LocationOnly(PacketInputStream in, int kind)
          Creates a LocationOnly modifier.
EventRequestModifier.Step(PacketInputStream in, int kind)
          Creates a Step modifier.
EventRequestModifier.ThreadOnly(PacketInputStream in, int kind)
          Creates a ThreadOnly modifier.
JDWPConnection(String url, byte[] handshake, boolean initiate, boolean isJDB, Runnable delayer)
          Creates a connection based on a given URL and does a handshake with the remote enity once the connection is established.
Packet(int id, int dataLength, DataInputStream data)
          Creates a Packet to encapsulate a received JDWP packet.
ReplyPacket(int id, int dataLength, DataInputStream data, int errorCode)
          Creates a packet to encapsulate a received JDWP reply packet.
 

Uses of IOException in com.sun.squawk.debugger.sda
 

Methods in com.sun.squawk.debugger.sda that throw IOException
 void SDPListener.processCommand(CommandPacket command)
          Processes a single command received over this listeners connection.
 void ObjectManager.writeTaggedObject(PacketOutputStream out, Object object, String s)
          Writes the JDWP tag and object ID of an object to a given packet stream.
 

Uses of IOException in com.sun.squawk.io
 

Methods in com.sun.squawk.io that throw IOException
 int ConnectionBaseAdapter.available()
          Returns the number of bytes that can be read (or skipped over) from this input stream without blocking by the next caller of a method for this input stream.
 void BufferedReader.close()
          Close the stream.
 void BufferedWriter.close()
          Close the stream.
 void ConnectionBase.close()
          Close
 void ConnectionBaseAdapter.close()
          Close the connection.
 void MulticastOutputStream.close()
          Closes this output stream and releases any system resources associated with this stream.
protected  void ConnectionBaseAdapter.closeInputStream()
          Called once by each child input stream.
protected  void ConnectionBaseAdapter.closeOutputStream()
          Called once by each child output stream.
protected abstract  void ConnectionBaseAdapter.disconnect()
          Free up the connection resources.
protected  void ConnectionBaseAdapter.ensureOpen()
          Check if the connection is open.
 void BufferedWriter.flush()
          Flush the stream.
protected  void ConnectionBaseAdapter.flush()
          Forces any buffered output bytes to be written out.
 void MulticastOutputStream.flush()
          Flushes this output stream and forces any buffered output bytes to be written out.
 void ConnectionBaseAdapter.initStreamConnection(int mode)
          Check the mode argument and initialize the StreamConnection.
 void BufferedReader.mark(int readAheadLimit)
          Mark the present position in the stream.
 void BufferedWriter.newLine()
          Write a line separator.
abstract  Connection ConnectionBase.open(String protocol, String name, int mode, boolean timeouts)
          Open a connection to a target.
 DataInputStream ConnectionBase.openDataInputStream()
          Create and open a connection input stream.
 DataInputStream ConnectionBaseAdapter.openDataInputStream()
          Open and return a data input stream for a connection.
 DataOutputStream ConnectionBase.openDataOutputStream()
          Create and open a connection output stream.
 DataOutputStream ConnectionBaseAdapter.openDataOutputStream()
          Open and return a data output stream for a connection.
 InputStream ConnectionBase.openInputStream()
          Open and return a data input stream for a connection.
 InputStream ConnectionBaseAdapter.openInputStream()
          Returns an input stream.
 OutputStream ConnectionBase.openOutputStream()
          Open and return a data output stream for a connection.
 OutputStream ConnectionBaseAdapter.openOutputStream()
          Returns an output stream.
abstract  Connection ConnectionBaseAdapter.openPrim(String name, int mode, boolean timeouts)
          Initialize the StreamConnection and return it.
 int BufferedReader.read()
          Read a single character.
 int BufferedReader.read(char[] cbuf, int off, int len)
          Read characters into a portion of an array.
protected abstract  int ConnectionBaseAdapter.readBytes(byte[] b, int off, int len)
          Reads up to len bytes of data from the input stream into an array of bytes, blocks until at least one byte is available.
 String BufferedReader.readLine()
          Read a line of text.
 boolean BufferedReader.ready()
          Tell whether this stream is ready to be read.
 void BufferedReader.reset()
          Reset the stream to the most recent mark.
 void ConnectionBaseAdapter.reset()
          Repositions input stream for a connection to the position at the time the mark method was last called on this input stream.
 long BufferedReader.skip(long n)
          Skip characters.
 void MulticastOutputStream.write(byte[] b, int off, int len)
          Writes len bytes from the specified byte array starting at offset off to this output stream.
 void BufferedWriter.write(char[] cbuf, int off, int len)
          Write a portion of an array of characters.
 void BufferedWriter.write(int c)
          Write a single character.
 void MulticastOutputStream.write(int b)
          Writes the specified byte to this output stream.
 void BufferedWriter.write(String s, int off, int len)
          Write a portion of a String.
protected abstract  int ConnectionBaseAdapter.writeBytes(byte[] b, int off, int len)
          Writes len bytes from the specified byte array starting at offset off to this output stream.
 

Uses of IOException in com.sun.squawk.io.connections
 

Methods in com.sun.squawk.io.connections that throw IOException
 byte[] ClasspathConnection.getBytes(String name)
          Convenience method that provides access to the bytes to be found by doing a ClasspathConnection.openInputStream(String) on file named name.
 InputStream ClasspathConnection.openInputStream(String name)
           
 

Uses of IOException in com.sun.squawk.io.j2me.channel
 

Methods in com.sun.squawk.io.j2me.channel that throw IOException
 StreamConnection Protocol.acceptAndOpen()
          acceptAndOpen
 int ChannelInputStream.available()
           
 void ChannelInputStream.close()
           
 void ChannelOutputStream.close()
           
 void Protocol.close()
          Close the connection.
 void ChannelOutputStream.flush()
           
 Connection Protocol.open(String protocol, String name, int mode, boolean timeouts)
          open
 InputStream Protocol.openInputStream()
          openInputStream
 OutputStream Protocol.openOutputStream()
          openOutputStream
 int ChannelInputStream.read()
           
 int ChannelInputStream.read(byte[] b, int off, int len)
           
 boolean ChannelInputStream.readBoolean()
          Reads one input byte and returns true if that byte is nonzero, false if that byte is zero.
 byte ChannelInputStream.readByte()
          Reads and returns one input byte.
 char ChannelInputStream.readChar()
          See the general contract of the readChar method of DataInput.
 double ChannelInputStream.readDouble()
          Reads a 64 bit double.
 float ChannelInputStream.readFloat()
          Reads a 32 bit float.
 void ChannelInputStream.readFully(byte[] b)
           
 void ChannelInputStream.readFully(byte[] b, int off, int len)
          See the general contract of the readFully method of DataInput.
 int ChannelInputStream.readInt()
           
 long ChannelInputStream.readLong()
           
 short ChannelInputStream.readShort()
          Reads two input bytes and returns a short value.
 int ChannelInputStream.readUnsignedByte()
          Reads one input byte, zero-extends it to type int, and returns the result, which is therefore in the range 0 through 255.
 int ChannelInputStream.readUnsignedShort()
           
 String ChannelInputStream.readUTF()
          Reads in a string that has been encoded using a modified UTF-8 format.
 void ChannelInputStream.reset()
           
 long ChannelInputStream.skip(long n)
           
 int ChannelInputStream.skipBytes(int n)
          Makes an attempt to skip over n bytes of data from the input stream, discarding the skipped bytes.
 void ChannelOutputStream.write(byte[] b)
          Writes to the output stream all the bytes in array b.
 void ChannelOutputStream.write(byte[] b, int off, int len)
           
 void ChannelOutputStream.write(int v)
           
 void ChannelOutputStream.writeBoolean(boolean v)
          Writes a boolean value to this output stream.
 void ChannelOutputStream.writeByte(int v)
          Writes out a byte to the underlying output stream as a 1-byte value.
 void ChannelOutputStream.writeChar(int v)
           
 void ChannelOutputStream.writeChars(String s)
          Writes a string to the underlying output stream as a sequence of characters.
 void ChannelOutputStream.writeDouble(double v)
          Writes a 64 bit double.
 void ChannelOutputStream.writeFloat(float v)
          Writes a 32 bit float.
 void ChannelOutputStream.writeInt(int v)
           
 void ChannelOutputStream.writeLong(long v)
           
 void ChannelOutputStream.writeShort(int v)
           
 void ChannelOutputStream.writeUTF(String str)
          Writes a string to the underlying output stream using UTF-8 encoding in a machine-independent manner.
 

Constructors in com.sun.squawk.io.j2me.channel that throw IOException
ChannelInputStream(Protocol parent)
           
ChannelOutputStream(Protocol parent)
           
 

Uses of IOException in com.sun.squawk.io.j2me.debug
 

Methods in com.sun.squawk.io.j2me.debug that throw IOException
 Connection Protocol.open(String protocol, String name, int mode, boolean timeouts)
          Open the connection
 OutputStream Protocol.openOutputStream()
          Returns an output stream for this socket.
 

Uses of IOException in com.sun.squawk.io.j2me.dserror
 

Methods in com.sun.squawk.io.j2me.dserror that throw IOException
 Connection Protocol.open(String protocol, String name, int mode, boolean timeouts)
          Open the connection
 OutputStream Protocol.openOutputStream()
          Returns an output stream for this socket.
 

Uses of IOException in com.sun.squawk.io.j2me.file
 

Methods in com.sun.squawk.io.j2me.file that throw IOException
 int Protocol.available()
          Returns the number of bytes that can be read (or skipped over) from this input stream without blocking by the next caller of a method for this input stream.
protected  void Protocol.closeInputStream()
          Called once by each child input stream.
protected  void Protocol.closeOutputStream()
          Called once by each child output stream.
protected  void Protocol.connect(String name, int mode, boolean timeouts)
          Establishes the connection.
 void Protocol.create()
           
static void Protocol.create(String name)
          Create a file for writing
 void Protocol.delete()
           
protected  void Protocol.disconnect()
          Free up the connection resources.
protected  void Protocol.ensureConnected()
          Checks that the connection is already open.
protected  void Protocol.ensureOpenAndConnected()
          Checks that the connection is already open and connected.
 long Protocol.fileSize()
           
protected  void Protocol.flush()
          Forces any buffered output bytes to be written out.
 Connection Protocol.open(String protocol, String name, int mode, boolean timeouts)
          Open the connection
 InputStream Protocol.openInputStream()
          Open and return an input stream for a connection.
 OutputStream Protocol.openOutputStream()
          Open and return an output stream for a connection.
 OutputStream Protocol.openOutputStream(long byteOffset)
           
 Connection Protocol.openPrim(String name, int mode, boolean timeouts)
          Opens the file connection.
protected  int Protocol.readBytes(byte[] b, int off, int len)
          Reads up to len bytes of data from the input stream into an array of bytes, blocks until at least one byte is available.
protected  int Protocol.writeBytes(byte[] b, int off, int len)
          Writes len bytes from the specified byte array starting at offset off to this output stream.
 

Uses of IOException in com.sun.squawk.io.j2me.http
 

Methods in com.sun.squawk.io.j2me.http that throw IOException
 void Protocol.close()
           
protected  void Protocol.connect()
           
protected  void Protocol.disconnect()
           
 int Protocol.getResponseCode()
           
 String Protocol.getResponseMessage()
           
 Connection Protocol.open(String protocol, String url, int mode, boolean timeouts)
           
 InputStream Protocol.openInputStream()
           
 OutputStream Protocol.openOutputStream()
           
protected  void Protocol.parseURL()
           
 void Protocol.setRequestMethod(String method)
           
 void Protocol.setRequestProperty(String key, String value)
           
 

Uses of IOException in com.sun.squawk.io.j2me.multicastoutput
 

Methods in com.sun.squawk.io.j2me.multicastoutput that throw IOException
 Connection Protocol.open(String protocol, String name, int mode, boolean timeouts)
          Opens the connection.
 OutputStream Protocol.openOutputStream()
          Opens and returns an output stream for this connection.
 

Uses of IOException in com.sun.squawk.io.j2me.serversocket
 

Methods in com.sun.squawk.io.j2me.serversocket that throw IOException
 StreamConnection Protocol.acceptAndOpen()
          Returns a GenericConnection that represents a server side socket connection
 void Protocol.close()
          Close the connection.
 String Protocol.getLocalAddress()
           
 int Protocol.getLocalPort()
           
 Connection Protocol.open(String protocol, String name, int mode, boolean timeouts)
          Open the connection
 

Uses of IOException in com.sun.squawk.io.j2me.socket
 

Methods in com.sun.squawk.io.j2me.socket that throw IOException
 void Protocol.close()
          Close the connection.
 String Protocol.getAddress()
           
 String Protocol.getLocalAddress()
           
 int Protocol.getLocalPort()
           
 int Protocol.getPort()
           
 int Protocol.getSocketOption(byte option)
           
static void Test.main(String[] args)
          test code
 Connection Protocol.open(String protocol, String name, int mode, boolean timeouts)
          Open the connection
 DataInputStream Protocol.openDataInputStream()
          Open and return a data input stream for a connection.
 DataOutputStream Protocol.openDataOutputStream()
          Open and return a data output stream for a connection.
 InputStream Protocol.openInputStream()
          Returns an input stream for this socket.
 OutputStream Protocol.openOutputStream()
          Returns an output stream for this socket.
 void Protocol.setSocketOption(byte option, int value)
           
 

Uses of IOException in com.sun.squawk.io.mailboxes
 

Subclasses of IOException in com.sun.squawk.io.mailboxes
 class AddressClosedException
          This exception is thrown when trying to send to a closed MailboxAddress, or when reading from a Mailbox, and the MailBoxHandler is managing a private address that has closed.
 class MailboxClosedException
          This exception is thrown when trying to receive from a closed Mailbox.
 class MailboxInUseException
          This exception is thrown when trying to send to register a mailbox under a name, and that name is already used.
 class NoSuchMailboxException
          This exception is thrown when trying to send to register a mailbox under a name, and that name is already used.
 

Uses of IOException in com.sun.squawk.microedition.io
 

Methods in com.sun.squawk.microedition.io that throw IOException
 void FileConnection.create()
           
 void FileConnection.delete()
           
 long FileConnection.fileSize()
           
 DataInputStream FileConnection.openDataInputStream()
           
 DataOutputStream FileConnection.openDataOutputStream()
           
 InputStream FileConnection.openInputStream()
           
 OutputStream FileConnection.openOutputStream()
           
 OutputStream FileConnection.openOutputStream(long byteOffset)
           
 

Uses of IOException in com.sun.squawk.peripheral
 

Subclasses of IOException in com.sun.squawk.peripheral
 class InsufficientFlashMemoryException
           
 

Methods in com.sun.squawk.peripheral that throw IOException
 INorFlashSector[] INorFlashSectorAllocator.getInitialSectors(int purpose)
           
 

Constructors in com.sun.squawk.peripheral that throw IOException
SimulatedNorFlashSector(String fileName)
           
 

Uses of IOException in com.sun.squawk.platform
 

Methods in com.sun.squawk.platform that throw IOException
 int GCFSockets.accept(int fd)
          Accept client connections on server socket fd.
 int GCFSockets.available(int handle)
          Gets the number of bytes that can be read without blocking.
 void BaseGCFFile.close()
          Close file associated with this handler.
 void GCFFile.close()
          Close file associated with this handler.
 void GCFSockets.close(int handle)
          Closes the socket connection.
 void GCFFile.closeForRead()
          Closes for reading the file that was open by openForRead method.
 void BaseGCFFile.closeForReadWrite()
          Closes the file for both reading and writing.
 void GCFFile.closeForReadWrite()
          Closes the file for both reading and writing.
 void GCFFile.closeForWrite()
          Closes for writing the file that was open by openForWrite method.
 void GCFFile.create()
          Create file corresponding to this file handler.
 void GCFFile.delete()
          Deletes the file or directory associated with this handler.
 long GCFFile.fileSize()
          Determines the size of a file on the file system.
 void GCFFile.flush()
          Forces any buffered output bytes to be written out.
 int GCFSockets.getSockOpt(int socket, int option_name)
          get a socket option
 int GCFSockets.open(String hostname, int port, int mode)
          Opens a TCP connection to a server.
 void GCFFile.openForRead()
          Open the file for reading, on the underlying file system.
 void GCFFile.openForWrite()
          Open the file for writing, on the underlying file system.
 int GCFSockets.openServer(int port, int backlog)
          Opens a server TCP connection to clients.
 void GCFFile.positionForWrite(long offset)
          Sets the location for the next write operation.
 int GCFFile.read(byte[] b, int off, int len)
          Reads up to len bytes of data from the input stream into an array of bytes, blocks until at least one byte is available.
 int GCFSockets.readBuf(int handle, byte[] b, int off, int len)
          Reads from the open socket connection.
 int GCFSockets.readByte(int handle)
          Read a byte from the open socket connection.
 int GCFSockets.readByte(int fd, byte[] b)
          Read a byte from the open socket connection.
 void GCFSockets.setSockOpt(int socket, int option_name, int option_value)
          set a socket option
 int GCFFile.write(byte[] b, int off, int len)
          Writes len bytes from the specified byte array starting at offset off to this output stream.
 int GCFSockets.writeBuf(int handle, byte[] b, int off, int len)
          Writes to the open socket connection.
 int GCFSockets.writeByte(int handle, int b)
          Writes to the open socket connection.
 

Uses of IOException in com.sun.squawk.platform.posix
 

Methods in com.sun.squawk.platform.posix that throw IOException
 int GCFSocketsImpl.accept(int fd)
          Accept client connections on server socket fd.
 int GCFSocketsImpl.available(int fd)
           
 void GCFSocketsImpl.close(int fd)
           
 void GCFFileImpl.closeForRead()
          Closes the file for reading.
 void GCFFileImpl.closeForWrite()
          Closes the file for writing.
 void GCFFileImpl.create()
           
 void GCFFileImpl.delete()
          Deletes the file or directory associated with this handler.
static int LibCUtil.errCheckNeg(int result)
          Utility class that checks result.
 long GCFFileImpl.fileSize()
          Determines the size of a file on the file system.
 void GCFFileImpl.flush()
          Flushes any output to the file.
 int GCFSocketsImpl.getSockOpt(int socket, int option_name)
          get a socket option
 int GCFSocketsImpl.getSockOpt(int socket, int level, int option_name)
          get a socket option
 int GCFSocketsImpl.open(String hostname, int port, int mode)
           
 void GCFFileImpl.openForRead()
          Opens the file for reading.
 void GCFFileImpl.openForWrite()
          Opens the file for writing.
 int GCFSocketsImpl.openServer(int port, int backlog)
          Opens a server TCP connection to clients.
 void GCFFileImpl.positionForWrite(long offset)
          Sets the next write location.
 int GCFFileImpl.read(byte[] b, int off, int len)
          Reads data from the file to an array.
 int GCFSocketsImpl.readBuf(int fd, byte[] b, int offset, int length)
           
 int GCFSocketsImpl.readByte(int fd)
           
 int GCFSocketsImpl.readByte(int fd, byte[] b)
           
 void GCFSocketsImpl.setSockOpt(int socket, int option_name, int option_value)
          set a socket option
 void GCFSocketsImpl.setSockOpt(int socket, int level, int option_name, int option_value)
          set a socket option
 int GCFFileImpl.write(byte[] b, int off, int len)
          Write data from an array to the file.
 int GCFSocketsImpl.writeBuf(int fd, byte[] buffer, int off, int len)
           
 int GCFSocketsImpl.writeByte(int fd, int b)
           
 

Uses of IOException in com.sun.squawk.platform.windows
 

Methods in com.sun.squawk.platform.windows that throw IOException
 int GCFSocketsImpl.accept(int fd)
          Accept client connections on server socket fd.
 int GCFSocketsImpl.available(int fd)
           
 void GCFSocketsImpl.close(int fd)
           
 void GCFFileImpl.closeForRead()
          Closes the file for reading.
 void GCFFileImpl.closeForWrite()
          Closes the file for writing.
 void GCFFileImpl.create()
           
 void GCFFileImpl.delete()
          Deletes the file or directory associated with this handler.
static int LibCUtil.errCheckNeg(int result)
          Utility class that checks result.
 long GCFFileImpl.fileSize()
          Determines the size of a file on the file system.
 void GCFFileImpl.flush()
          Flushes any output to the file.
 int GCFSocketsImpl.getSockOpt(int socket, int option_name)
          get a socket option
 int GCFSocketsImpl.open(String hostname, int port, int mode)
           
 void GCFFileImpl.openForRead()
          Opens the file for reading.
 void GCFFileImpl.openForWrite()
          Opens the file for writing.
 int GCFSocketsImpl.openServer(int port, int backlog)
          Opens a server TCP connection to clients.
 void GCFFileImpl.positionForWrite(long offset)
          Sets the next write location.
 int GCFFileImpl.read(byte[] b, int off, int len)
          Reads data from the file to an array.
 int GCFSocketsImpl.readBuf(int fd, byte[] b, int offset, int length)
           
 int GCFSocketsImpl.readByte(int fd)
           
 int GCFSocketsImpl.readByte(int fd, byte[] b)
           
 void GCFSocketsImpl.setSockOpt(int socket, int option_name, int option_value)
          set a socket option
 int GCFFileImpl.write(byte[] b, int off, int len)
          Write data from an array to the file.
 int GCFSocketsImpl.writeBuf(int fd, byte[] buffer, int off, int len)
           
 int GCFSocketsImpl.writeByte(int fd, int b)
           
 

Uses of IOException in com.sun.squawk.rms
 

Methods in com.sun.squawk.rms that throw IOException
 void ApplicationDescriptorEntry.readFrom(IMemoryHeapBlock memoryBlock)
           
 void IRmsEntry.readFrom(IMemoryHeapBlock memoryBlock)
           
 void RecordEntry.readFrom(IMemoryHeapBlock memoryBlock)
           
 void RecordStoreEntry.readFrom(IMemoryHeapBlock memoryBlock)
           
 void RecordStoreSequenceEntry.readFrom(IMemoryHeapBlock memoryBlock)
           
 void RmsEntry.readFrom(IMemoryHeapBlock memoryBlock)
           
 void ApplicationDescriptorEntry.writeTo(DataOutputStream dataOut)
           
 void IRmsEntry.writeTo(DataOutputStream dataOut)
           
 void RecordEntry.writeTo(DataOutputStream dataOut)
           
 void RecordStoreEntry.writeTo(DataOutputStream dataOut)
           
 void RecordStoreSequenceEntry.writeTo(DataOutputStream dataOut)
           
 void RmsEntry.writeTo(DataOutputStream dataOut)
           
 

Uses of IOException in com.sun.squawk.util
 

Methods in com.sun.squawk.util that throw IOException
 String LineReader.readLine()
          Read a line of text.
 Vector LineReader.readLines(Vector v)
          Read all the lines from the input stream and add them to a given Vector.
static String DataInputUTF8Decoder.readUTF(DataInput in, boolean isClassFile, boolean twoByteLength)
          Reads a UTF-8 encoded String from in.
static String DataInputUTF8Decoder.readUTF(DataInput in, boolean isClassFile, int utflen)
          Reads a UTF-8 encoded String from in.
static int DataOutputUTF8Encoder.writeUTF(String str, DataOutput out, boolean twoByteLength)
          Writes a string to out in UTF-8 encoded form.
 

Uses of IOException in edu.wpi.first.wpilibj.can
 

Subclasses of IOException in edu.wpi.first.wpilibj.can
 class CANTimeoutException
          Exception indicating that the CAN device did not respond within the timeout period specified.
 

Uses of IOException in java.io
 

Subclasses of IOException in java.io
 class EOFException
          Signals that an end of file or end of stream has been reached unexpectedly during input.
 class InterruptedIOException
          Signals that an I/O operation has been interrupted.
 class UnsupportedEncodingException
          The Character Encoding is not supported.
 class UTFDataFormatException
          Signals that a malformed UTF-8 string has been read in a data input stream or by any class that implements the data input interface.
 

Methods in java.io that throw IOException
 int DataInputStream.available()
          Returns the number of bytes that can be read from this input stream without blocking.
 int InputStream.available()
          Returns the number of bytes that can be read (or skipped over) from this input stream without blocking by the next caller of a method for this input stream.
 void ByteArrayInputStream.close()
          Closes this input stream and releases any system resources associated with the stream.
 void ByteArrayOutputStream.close()
          Closes this output stream and releases any system resources associated with this stream.
 void DataInputStream.close()
          Closes this input stream and releases any system resources associated with the stream.
 void DataOutputStream.close()
          Closes this output stream and releases any system resources associated with the stream.
 void InputStream.close()
          Closes this input stream and releases any system resources associated with the stream.
 void InputStreamReader.close()
          Close the stream.
 void OutputStream.close()
          Closes this output stream and releases any system resources associated with this stream.
 void OutputStreamWriter.close()
          Close the stream.
abstract  void Reader.close()
          Close the stream.
abstract  void Writer.close()
          Close the stream, flushing it first.
 void DataOutputStream.flush()
          Flushes this data output stream.
 void OutputStream.flush()
          Flushes this output stream and forces any buffered output bytes to be written out.
 void OutputStreamWriter.flush()
          Flush the stream.
abstract  void Writer.flush()
          Flush the stream.
 void InputStreamReader.mark(int readAheadLimit)
          Mark the present position in the stream.
 void Reader.mark(int readAheadLimit)
          Mark the present position in the stream.
 int DataInputStream.read()
          Reads the next byte of data from this input stream.
abstract  int InputStream.read()
          Reads the next byte of data from the input stream.
 int InputStreamReader.read()
          Read a single character.
 int Reader.read()
          Read a single character.
 int DataInputStream.read(byte[] b)
          See the general contract of the read method of DataInput.
 int InputStream.read(byte[] b)
          Reads some number of bytes from the input stream and stores them into the buffer array b.
 int DataInputStream.read(byte[] b, int off, int len)
          Reads up to len bytes of data from this input stream into an array of bytes.
 int InputStream.read(byte[] b, int off, int len)
          Reads up to len bytes of data from the input stream into an array of bytes.
 int Reader.read(char[] cbuf)
          Read characters into an array.
 int InputStreamReader.read(char[] cbuf, int off, int len)
          Read characters into a portion of an array.
abstract  int Reader.read(char[] cbuf, int off, int len)
          Read characters into a portion of an array.
 boolean DataInput.readBoolean()
          Reads one input byte and returns true if that byte is nonzero, false if that byte is zero.
 boolean DataInputStream.readBoolean()
          See the general contract of the readBoolean method of DataInput.
 byte DataInput.readByte()
          Reads and returns one input byte.
 byte DataInputStream.readByte()
          See the general contract of the readByte method of DataInput.
 char DataInput.readChar()
          Reads an input char and returns the char value.
 char DataInputStream.readChar()
          See the general contract of the readChar method of DataInput.
 double DataInput.readDouble()
          Reads eight input bytes and returns a double value.
 double DataInputStream.readDouble()
          Reads a 64 bit double.
 float DataInput.readFloat()
          Reads four input bytes and returns a float value.
 float DataInputStream.readFloat()
          Reads a 32 bit float.
 void DataInput.readFully(byte[] b)
          Reads some bytes from an input stream and stores them into the buffer array b.
 void DataInputStream.readFully(byte[] b)
          See the general contract of the readFully method of DataInput.
 void DataInput.readFully(byte[] b, int off, int len)
          Reads len bytes from an input stream.
 void DataInputStream.readFully(byte[] b, int off, int len)
          See the general contract of the readFully method of DataInput.
 int DataInput.readInt()
          Reads four input bytes and returns an int value.
 int DataInputStream.readInt()
          See the general contract of the readInt method of DataInput.
 long DataInput.readLong()
          Reads eight input bytes and returns a long value.
 long DataInputStream.readLong()
          See the general contract of the readLong method of DataInput.
 short DataInput.readShort()
          Reads two input bytes and returns a short value.
 short DataInputStream.readShort()
          See the general contract of the readShort method of DataInput.
 int DataInput.readUnsignedByte()
          Reads one input byte, zero-extends it to type int, and returns the result, which is therefore in the range 0 through 255.
 int DataInputStream.readUnsignedByte()
          See the general contract of the readUnsignedByte method of DataInput.
 int DataInput.readUnsignedShort()
          Reads two input bytes, zero-extends it to type int, and returns an int value in the range 0 through 65535.
 int DataInputStream.readUnsignedShort()
          See the general contract of the readUnsignedShort method of DataInput.
 String DataInput.readUTF()
          Reads in a string that has been encoded using a modified UTF-8 format.
 String DataInputStream.readUTF()
          See the general contract of the readUTF method of DataInput.
static String DataInputStream.readUTF(DataInput in)
          Reads from the stream in a representation of a Unicode character string encoded in Java modified UTF-8 format; this string of characters is then returned as a String.
 boolean InputStreamReader.ready()
          Tell whether this stream is ready to be read.
 boolean Reader.ready()
          Tell whether this stream is ready to be read.
 void DataInputStream.reset()
          Repositions this stream to the position at the time the mark method was last called on this input stream.
 void InputStream.reset()
          Repositions this stream to the position at the time the mark method was last called on this input stream.
 void InputStreamReader.reset()
          Reset the stream.
 void Reader.reset()
          Reset the stream.
 long DataInputStream.skip(long n)
          Skips over and discards n bytes of data from the input stream.
 long InputStream.skip(long n)
          Skips over and discards n bytes of data from this input stream.
 long InputStreamReader.skip(long n)
          Skip characters.
 long Reader.skip(long n)
          Skip characters.
 int DataInput.skipBytes(int n)
          Makes an attempt to skip over n bytes of data from the input stream, discarding the skipped bytes.
 int DataInputStream.skipBytes(int n)
          See the general contract of the skipBytes method of DataInput.
 void DataOutput.write(byte[] b)
          Writes to the output stream all the bytes in array b.
 void OutputStream.write(byte[] b)
          Writes b.length bytes from the specified byte array to this output stream.
 void DataOutput.write(byte[] b, int off, int len)
          Writes len bytes from array b, in order, to the output stream.
 void DataOutputStream.write(byte[] b, int off, int len)
          Writes len bytes from the specified byte array starting at offset off to the underlying output stream.
 void OutputStream.write(byte[] b, int off, int len)
          Writes len bytes from the specified byte array starting at offset off to this output stream.
 void Writer.write(char[] cbuf)
          Write an array of characters.
 void OutputStreamWriter.write(char[] cbuf, int off, int len)
          Write a portion of an array of characters.
abstract  void Writer.write(char[] cbuf, int off, int len)
          Write a portion of an array of characters.
 void DataOutput.write(int b)
          Writes to the output stream the eight low-order bits of the argument b.
 void DataOutputStream.write(int b)
          Writes the specified byte (the low eight bits of the argument b) to the underlying output stream.
abstract  void OutputStream.write(int b)
          Writes the specified byte to this output stream.
 void OutputStreamWriter.write(int c)
          Write a single character.
 void Writer.write(int c)
          Write a single character.
 void Writer.write(String str)
          Write a string.
 void OutputStreamWriter.write(String str, int off, int len)
          Write a portion of a string.
 void Writer.write(String str, int off, int len)
          Write a portion of a string.
 void DataOutput.writeBoolean(boolean v)
          Writes a boolean value to this output stream.
 void DataOutputStream.writeBoolean(boolean v)
          Writes a boolean to the underlying output stream as a 1-byte value.
 void DataOutput.writeByte(int v)
          Writes to the output stream the eight low- order bits of the argument v.
 void DataOutputStream.writeByte(int v)
          Writes out a byte to the underlying output stream as a 1-byte value.
 void DataOutput.writeChar(int v)
          Writes a char value, which is comprised of two bytes, to the output stream.
 void DataOutputStream.writeChar(int v)
          Writes a char to the underlying output stream as a 2-byte value, high byte first.
 void DataOutput.writeChars(String s)
          Writes every character in the string s, to the output stream, in order, two bytes per character.
 void DataOutputStream.writeChars(String s)
          Writes a string to the underlying output stream as a sequence of characters.
 void DataOutput.writeDouble(double v)
          Writes a double value, which is comprised of eight bytes, to the output stream.
 void DataOutputStream.writeDouble(double v)
          Writes a 64 bit double.
 void DataOutput.writeFloat(float v)
          Writes a float value, which is comprised of four bytes, to the output stream.
 void DataOutputStream.writeFloat(float v)
          Writes a 32 bit float.
 void DataOutput.writeInt(int v)
          Writes an int value, which is comprised of four bytes, to the output stream.
 void DataOutputStream.writeInt(int v)
          Writes an int to the underlying output stream as four bytes, high byte first.
 void DataOutput.writeLong(long v)
          Writes an long value, which is comprised of four bytes, to the output stream.
 void DataOutputStream.writeLong(long v)
          Writes a long to the underlying output stream as eight bytes, high byte first.
 void DataOutput.writeShort(int v)
          Writes two bytes to the output stream to represent the value of the argument.
 void DataOutputStream.writeShort(int v)
          Writes a short to the underlying output stream as two bytes, high byte first.
 void DataOutput.writeUTF(String s)
          Writes two bytes of length information to the output stream, followed by the Java modified UTF representation of every character in the string s.
 void DataOutputStream.writeUTF(String str)
          Writes a string to the underlying output stream using UTF-8 encoding in a machine-independent manner.
 

Uses of IOException in javax.microedition.io
 

Subclasses of IOException in javax.microedition.io
 class ConnectionNotFoundException
          This class is used to signal that a connection target cannot be found, or the protocol type is not supported.
 

Methods in javax.microedition.io that throw IOException
 StreamConnection StreamConnectionNotifier.acceptAndOpen()
          Returns a StreamConnection object that represents a server side socket connection.
 void Connection.close()
          Close the connection.
 String SocketConnection.getAddress()
          Gets the remote address to which the socket is bound.
 long HttpConnection.getDate()
          Returns the value of the date header field.
 long HttpConnection.getExpiration()
          Returns the value of the expires header field.
 String HttpConnection.getHeaderField(int n)
          Gets a header field value by index.
 String HttpConnection.getHeaderField(String name)
          Returns the value of the named header field.
 long HttpConnection.getHeaderFieldDate(String name, long def)
          Returns the value of the named field parsed as date.
 int HttpConnection.getHeaderFieldInt(String name, int def)
          Returns the value of the named field parsed as a number.
 String HttpConnection.getHeaderFieldKey(int n)
          Gets a header field key by index.
 long HttpConnection.getLastModified()
          Returns the value of the last-modified header field.
 String MulticastConnection.getLocalAddress()
          Gets the local address to which the socket is bound.
 String ServerSocketConnection.getLocalAddress()
          Gets the local address to which the socket is bound.
 String SocketConnection.getLocalAddress()
          Gets the local address to which the socket is bound.
 String UDPDatagramConnection.getLocalAddress()
          Gets the local address to which the datagram connection is bound.
 int MulticastConnection.getLocalPort()
          Returns the local port to which this socket is bound.
 int ServerSocketConnection.getLocalPort()
          Returns the local port to which this socket is bound.
 int SocketConnection.getLocalPort()
          Returns the local port to which this socket is bound.
 int UDPDatagramConnection.getLocalPort()
          Returns the local port to which this datagram connection is bound.
 int DatagramConnection.getMaximumLength()
          Get the maximum length a datagram can be.
 int DatagramConnection.getNominalLength()
          Get the nominal length of a datagram.
 int SocketConnection.getPort()
          Returns the remote port to which this socket is bound.
 int HttpConnection.getResponseCode()
          Returns the HTTP response status code.
 String HttpConnection.getResponseMessage()
          Gets the HTTP response message, if any, returned along with the response code from a server.
 int SocketConnection.getSocketOption(byte option)
          Get a socket option for the connection.
 Datagram DatagramConnection.newDatagram(byte[] buf, int size)
          Create a new datagram object.
 Datagram DatagramConnection.newDatagram(byte[] buf, int size, String addr)
          Make a new datagram object.
 Datagram DatagramConnection.newDatagram(int size)
          Create a new datagram object.
 Datagram DatagramConnection.newDatagram(int size, String addr)
          Create a new datagram object.
static Connection Connector.open(String name)
          Create and open a Connection.
static Connection Connector.open(String name, int mode)
          Create and open a Connection.
static Connection Connector.open(String name, int mode, boolean timeouts)
          Create and open a Connection.
 DataInputStream InputConnection.openDataInputStream()
          Open and return a data input stream for a connection.
static DataInputStream Connector.openDataInputStream(String name)
          Create and open a connection input stream.
 DataOutputStream OutputConnection.openDataOutputStream()
          Open and return a data output stream for a connection.
static DataOutputStream Connector.openDataOutputStream(String name)
          Create and open a connection output stream.
 InputStream InputConnection.openInputStream()
          Open and return an input stream for a connection.
static InputStream Connector.openInputStream(String name)
          Create and open a connection input stream.
 OutputStream OutputConnection.openOutputStream()
          Open and return an output stream for a connection.
static OutputStream Connector.openOutputStream(String name)
          Create and open a connection output stream.
 void DatagramConnection.receive(Datagram dgram)
          Receive a datagram.
 void DatagramConnection.send(Datagram dgram)
          Send a datagram.
 void Datagram.setAddress(String addr)
          Set datagram address.
 void HttpConnection.setRequestMethod(String method)
          Set the method for the URL request, one of: GET POST HEAD are legal, subject to protocol restrictions.
 void HttpConnection.setRequestProperty(String key, String value)
          Sets the general request property.
 void SocketConnection.setSocketOption(byte option, int value)
          Set a socket option for the connection.
 


"

2013 FRC Java API

"

"
For updated information see the Java FRC site
"