Home
last modified time | relevance | path

Searched refs:IOException (Results 1 – 25 of 1773) sorted by relevance

12345678910>>...71

/external/jmonkeyengine/engine/src/core/com/jme3/export/
DInputCapsule.java36 import java.io.IOException;
54 public byte readByte(String name, byte defVal) throws IOException; in readByte()
55 public byte[] readByteArray(String name, byte[] defVal) throws IOException; in readByteArray()
56 public byte[][] readByteArray2D(String name, byte[][] defVal) throws IOException; in readByteArray2D()
60 public int readInt(String name, int defVal) throws IOException; in readInt()
61 public int[] readIntArray(String name, int[] defVal) throws IOException; in readIntArray()
62 public int[][] readIntArray2D(String name, int[][] defVal) throws IOException; in readIntArray2D()
67 public float readFloat(String name, float defVal) throws IOException; in readFloat()
68 public float[] readFloatArray(String name, float[] defVal) throws IOException; in readFloatArray()
69 public float[][] readFloatArray2D(String name, float[][] defVal) throws IOException; in readFloatArray2D()
[all …]
DOutputCapsule.java36 import java.io.IOException;
52 public void write(byte value, String name, byte defVal) throws IOException; in write()
53 public void write(byte[] value, String name, byte[] defVal) throws IOException; in write()
54 public void write(byte[][] value, String name, byte[][] defVal) throws IOException; in write()
59 public void write(int value, String name, int defVal) throws IOException; in write()
60 public void write(int[] value, String name, int[] defVal) throws IOException; in write()
61 public void write(int[][] value, String name, int[][] defVal) throws IOException; in write()
66 public void write(float value, String name, float defVal) throws IOException; in write()
67 public void write(float[] value, String name, float[] defVal) throws IOException; in write()
68 public void write(float[][] value, String name, float[][] defVal) throws IOException; in write()
[all …]
/external/jmonkeyengine/engine/src/xml/com/jme3/export/xml/
DDOMInputCapsule.java40 import java.io.IOException;
125 public byte readByte(String name, byte defVal) throws IOException { in readByte()
131 IOException io = new IOException(nfe.toString()); in readByte()
135 IOException io = new IOException(de.toString()); in readByte()
141 public byte[] readByteArray(String name, byte[] defVal) throws IOException { in readByteArray()
157 throw new IOException("Wrong number of bytes for '" + name in readByteArray()
167 } catch (IOException ioe) { in readByteArray()
170 IOException io = new IOException(nfe.toString()); in readByteArray()
174 IOException io = new IOException(de.toString()); in readByteArray()
180 public byte[][] readByteArray2D(String name, byte[][] defVal) throws IOException { in readByteArray2D()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/util/
DLittleEndien.java57 public int read() throws IOException { in read()
62 public int read(byte[] buf) throws IOException { in read()
67 public int read(byte[] buf, int off, int len) throws IOException { in read()
71 public int readUnsignedShort() throws IOException { in readUnsignedShort()
78 public long readUInt() throws IOException { in readUInt()
85 public boolean readBoolean() throws IOException { in readBoolean()
89 public byte readByte() throws IOException { in readByte()
93 public int readUnsignedByte() throws IOException { in readUnsignedByte()
97 public short readShort() throws IOException { in readShort()
101 public char readChar() throws IOException { in readChar()
[all …]
/external/javassist/src/main/javassist/bytecode/annotation/
DAnnotationsWriter.java85 public void close() throws IOException { in close()
95 public void numParameters(int num) throws IOException { in numParameters()
105 public void numAnnotations(int num) throws IOException { in numAnnotations()
119 throws IOException in annotation()
134 throws IOException in annotation()
149 public void memberValuePair(String memberName) throws IOException { in memberValuePair()
163 public void memberValuePair(int memberNameIndex) throws IOException { in memberValuePair()
173 public void constValueIndex(boolean value) throws IOException { in constValueIndex()
183 public void constValueIndex(byte value) throws IOException { in constValueIndex()
193 public void constValueIndex(char value) throws IOException { in constValueIndex()
[all …]
/external/protobuf/java/src/main/java/com/google/protobuf/micro/
DCodedOutputStreamMicro.java34 import java.io.IOException;
121 throws IOException { in writeDouble()
128 throws IOException { in writeFloat()
135 throws IOException { in writeUInt64()
142 throws IOException { in writeInt64()
149 throws IOException { in writeInt32()
156 throws IOException { in writeFixed64()
163 throws IOException { in writeFixed32()
170 throws IOException { in writeBool()
177 throws IOException { in writeString()
[all …]
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/
DSession.java7 import java.io.IOException;
39 protected Session(ChannelManager cm, SecureRandom rnd) throws IOException in Session()
52 public void requestDumbPTY() throws IOException in requestDumbPTY()
63 public void requestPTY(String term) throws IOException in requestPTY()
96 int term_height_pixels, byte[] terminal_modes) throws IOException in requestPTY()
104 throw new IOException("Illegal terminal modes description, does not end in zero byte"); in requestPTY()
113 throw new IOException("This session is closed."); in requestPTY()
116 throw new IOException("A PTY was already requested."); in requestPTY()
119 throw new IOException( in requestPTY()
146 throws IOException in requestX11Forwarding()
[all …]
DSCPClient.java3 import java.io.IOException;
35 public void setCharset(String charset) throws IOException in setCharset()
49 throw (IOException) new IOException("This charset is not supported").initCause(e); in setCharset()
78 protected void readResponse(InputStream is) throws IOException in readResponse()
86 throw new IOException("Remote scp terminated unexpectedly."); in readResponse()
89 throw new IOException("Remote scp sent illegal error code."); in readResponse()
92 throw new IOException("Remote scp terminated with error."); in readResponse()
95 throw new IOException("Remote scp terminated with error (" + err + ")."); in readResponse()
98 protected String receiveLine(InputStream is) throws IOException in receiveLine()
107 throw new IOException("Remote scp sent a too long line"); in receiveLine()
[all …]
/external/protobuf/java/src/main/java/com/google/protobuf/
DCodedOutputStream.java34 import java.io.IOException;
135 throws IOException { in writeDouble()
142 throws IOException { in writeFloat()
149 throws IOException { in writeUInt64()
156 throws IOException { in writeInt64()
163 throws IOException { in writeInt32()
170 throws IOException { in writeFixed64()
177 throws IOException { in writeFixed32()
184 throws IOException { in writeBool()
191 throws IOException { in writeString()
[all …]
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/export/binary/
DBinaryOutputCapsule.java40 import java.io.IOException;
72 public void write(byte value, String name, byte defVal) throws IOException { in write()
80 throws IOException { in write()
88 throws IOException { in write()
95 public void write(int value, String name, int defVal) throws IOException { in write()
103 throws IOException { in write()
111 throws IOException { in write()
119 throws IOException { in write()
127 throws IOException { in write()
135 throws IOException { in write()
[all …]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
DIOExceptionTest.java20 import java.io.IOException;
32 throw new IOException(); in test_Constructor()
35 } catch (IOException e) { in test_Constructor()
46 throw new IOException("Some error message"); in test_ConstructorLjava_lang_String()
49 } catch (IOException e) { in test_ConstructorLjava_lang_String()
62 IOException ioException = new IOException( in test_ConstructorLString_LThrowable()
67 throw new IOException( in test_ConstructorLString_LThrowable()
69 } catch (IOException e) { in test_ConstructorLString_LThrowable()
84 IOException ioException = new IOException(cause); in test_Constructor_LThrowable()
87 ioException = new IOException((Throwable)null); in test_Constructor_LThrowable()
[all …]
DDataInputStreamTest.java25 import java.io.IOException;
42 public void test_ConstructorLjava_io_InputStream() throws IOException { in test_ConstructorLjava_io_InputStream()
55 public void test_read$B() throws IOException { in test_read$B()
68 public void test_read$BII() throws IOException { in test_read$BII()
81 public void test_readBoolean() throws IOException { in test_readBoolean()
91 public void test_readByte() throws IOException { in test_readByte()
101 public void test_readChar() throws IOException { in test_readChar()
111 public void test_readDouble() throws IOException { in test_readDouble()
122 public void test_readFloat() throws IOException { in test_readFloat()
132 public void test_readFully$B() throws IOException { in test_readFully$B()
[all …]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DSocketImplTest.java21 import java.io.IOException;
56 } catch (IOException e) { in test_shutdownOutput()
69 } catch (IOException e) { in test_shutdownInput()
85 protected void accept(SocketImpl newSocket) throws IOException { in accept()
88 protected int available() throws IOException { in available()
92 protected void bind(InetAddress address, int port) throws IOException { in bind()
95 protected void close() throws IOException { in close()
98 protected void connect(String host, int port) throws IOException { in connect()
102 throws IOException { in connect()
105 protected void create(boolean isStreaming) throws IOException { in create()
[all …]
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/packets/
DTypesReader.java7 import java.io.IOException;
55 public int readByte() throws IOException in readByte()
58 throw new IOException("Packet too short."); in readByte()
63 public byte[] readBytes(int len) throws IOException in readBytes()
66 throw new IOException("Packet too short."); in readBytes()
76 public void readBytes(byte[] dst, int off, int len) throws IOException in readBytes()
79 throw new IOException("Packet too short."); in readBytes()
85 public boolean readBoolean() throws IOException in readBoolean()
88 throw new IOException("Packet too short."); in readBoolean()
93 public int readUINT32() throws IOException in readUINT32()
[all …]
/external/apache-http/src/org/apache/http/conn/
DEofSensorInputStream.java34 import java.io.IOException;
125 protected boolean isReadAllowed() throws IOException { in isReadAllowed()
127 throw new IOException("Attempted read on closed stream."); in isReadAllowed()
135 public int read() throws IOException { in read()
142 } catch (IOException ex) { in read()
154 public int read(byte[] b, int off, int len) throws IOException { in read()
161 } catch (IOException ex) { in read()
173 public int read(byte[] b) throws IOException { in read()
180 } catch (IOException ex) { in read()
191 public int available() throws IOException { in available()
[all …]
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/
DSimpleDERReader.java7 import java.io.IOException;
45 private byte readByte() throws IOException in readByte()
48 throw new IOException("DER byte array: out of data"); in readByte()
53 private byte[] readBytes(int len) throws IOException in readBytes()
56 throw new IOException("DER byte array: out of data"); in readBytes()
73 private int readLength() throws IOException in readLength()
97 public int ignoreNextObject() throws IOException in ignoreNextObject()
104 throw new IOException("Illegal len in DER object (" + len + ")"); in ignoreNextObject()
111 public BigInteger readInt() throws IOException in readInt()
116 throw new IOException("Expected DER Integer, but found type " + type); in readInt()
[all …]
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/channel/
DChannelManager.java8 import java.io.IOException;
102 private void waitUntilChannelOpen(Channel c) throws IOException in waitUntilChannelOpen()
129 throw new IOException("Could not open channel (" + detail + ")"); in waitUntilChannelOpen()
137 private void waitForGlobalSuccessOrFailure() throws IOException in waitForGlobalSuccessOrFailure()
149 throw new IOException("The connection is being shutdown"); in waitForGlobalSuccessOrFailure()
164 throw new IOException("The server denied the request (did you enable port forwarding?)"); in waitForGlobalSuccessOrFailure()
169 throw new IOException("Illegal state."); in waitForGlobalSuccessOrFailure()
180 private void waitForChannelSuccessOrFailure(Channel c) throws IOException in waitForChannelSuccessOrFailure()
197 throw new IOException("This SSH2 channel is not open (" + detail + ")"); in waitForChannelSuccessOrFailure()
212 throw new IOException("The server denied the request."); in waitForChannelSuccessOrFailure()
[all …]
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/material/plugins/
DJ3MLoader.java51 import java.io.IOException;
78 private void throwIfNequal(String expected, String got) throws IOException { in throwIfNequal()
80 throw new IOException("Expected a statement, got '"+got+"'!"); in throwIfNequal()
83 throw new IOException("Expected '"+expected+"', got '"+got+"'!"); in throwIfNequal()
87 private void readShaderStatement(String statement) throws IOException { in readShaderStatement()
90 throw new IOException("Shader statement syntax incorrect" + statement); in readShaderStatement()
94 throw new IOException("Shader statement syntax incorrect: " + statement); in readShaderStatement()
105 private void readLightMode(String statement) throws IOException{ in readLightMode()
108 throw new IOException("LightMode statement syntax incorrect"); in readLightMode()
115 private void readShadowMode(String statement) throws IOException{ in readShadowMode()
[all …]
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/auth/
DAuthenticationManager.java7 import java.io.IOException;
74 byte[] deQueue() throws IOException in deQueue()
85 throw (IOException) new IOException("The connection is closed.").initCause(tm in deQueue()
109 byte[] getNextMessage() throws IOException in getNextMessage()
124 public String[] getRemainingMethods(String user) throws IOException in getRemainingMethods()
140 private boolean initialize(String user) throws IOException in initialize()
175 throw new IOException("Unexpected SSH message (type " + msg[0] + ")"); in initialize()
181 throws IOException in authenticatePublicKey()
188 …throw new IOException("Authentication method publickey not supported by the server at this stage."… in authenticatePublicKey()
253 throw new IOException("Unknown private key type returned by the PEM decoder."); in authenticatePublicKey()
[all …]
/external/guava/guava/src/com/google/common/io/
DByteStreams.java29 import java.io.IOException;
92 OutputSupplier<? extends OutputStream> to) throws IOException {
114 OutputSupplier<? extends OutputStream> to) throws IOException {
143 OutputStream to) throws IOException {
167 OutputSupplier<? extends OutputStream> to) throws IOException {
189 throws IOException {
213 WritableByteChannel to) throws IOException {
234 public static byte[] toByteArray(InputStream in) throws IOException {
247 InputSupplier<? extends InputStream> supplier) throws IOException {
294 } catch (IOException e) {
[all …]
DLittleEndianDataInputStream.java28 import java.io.IOException;
65 public void readFully(byte[] b) throws IOException { in readFully()
70 public void readFully(byte[] b, int off, int len) throws IOException { in readFully()
75 public int skipBytes(int n) throws IOException { in skipBytes()
80 public int readUnsignedByte() throws IOException { in readUnsignedByte()
99 public int readUnsignedShort() throws IOException { in readUnsignedShort()
115 public int readInt() throws IOException { in readInt()
133 public long readLong() throws IOException { in readLong()
155 public float readFloat() throws IOException { in readFloat()
169 public double readDouble() throws IOException { in readDouble()
[all …]
/external/apache-harmony/x-net/src/test/impl/java.injected/javax/net/
DSocketFactoryTest.java24 import java.io.IOException;
47 } catch (IOException e) { in testCreateSocket()
64 } catch (IOException e) { in testGetDefault()
69 } catch (IOException e) { in testGetDefault()
74 } catch (IOException e) { in testGetDefault()
79 } catch (IOException e) { in testGetDefault()
85 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { in createSocket()
86 throw new IOException(); in createSocket()
91 throws IOException, UnknownHostException { in createSocket()
92 throw new IOException(); in createSocket()
[all …]
/external/proguard/src/proguard/classfile/io/
DRuntimeDataInput.java50 catch (IOException ex) in readBoolean()
62 catch (IOException ex) in readByte()
74 catch (IOException ex) in readChar()
86 catch (IOException ex) in readDouble()
98 catch (IOException ex) in readFloat()
110 catch (IOException ex) in readFully()
122 catch (IOException ex) in readFully()
134 catch (IOException ex) in readInt()
146 catch (IOException ex) in readLine()
158 catch (IOException ex) in readLong()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DASN1OutputStream.java3 import java.io.IOException;
21 throws IOException in writeLength()
47 throws IOException in write()
53 throws IOException in write()
59 throws IOException in write()
67 throws IOException in writeEncoded()
75 throws IOException in writeTag()
108 throws IOException in writeEncoded()
116 throws IOException in writeNull()
124 throws IOException in writeObject()
[all …]
/external/guava/guava-tests/test/com/google/common/io/
DCloseablesTest.java29 import java.io.IOException;
45 public void testClose_closeableClean() throws IOException { in testClose_closeableClean()
55 public void testClose_closeableWithEatenException() throws IOException { in testClose_closeableWithEatenException()
62 public void testClose_closeableWithThrownException() throws IOException { in testClose_closeableWithThrownException()
70 throws IOException { in testCloseQuietly_closeableWithEatenException()
77 public void testFlush_clean() throws IOException { in testFlush_clean()
87 public void testFlush_flushableWithEatenException() throws IOException { in testFlush_flushableWithEatenException()
94 public void testFlush_flushableWithThrownException() throws IOException { in testFlush_flushableWithThrownException()
102 throws IOException { in testFlushQuietly_flushableWithEatenException()
109 public void testCloseNull() throws IOException { in testCloseNull()
[all …]

12345678910>>...71