HomeSort by relevance Sort by last modified time
    Searched full:throw (Results 51 - 75 of 5185) sorted by null

1 23 4 5 6 7 8 91011>>

  /frameworks/base/awt/javax/imageio/stream/
ImageInputStreamImpl.java 80 throw new IOException("stream is closed");
102 throw new NullPointerException("buffer is NULL");
116 throw new EOFException("EOF reached");
124 throw new EOFException("EOF reached");
132 throw new EOFException("EOF reached");
142 throw new EOFException("EOF reached");
151 throw new UnsupportedOperationException("Not implemented yet");
156 throw new UnsupportedOperationException("Not implemented yet");
161 throw new UnsupportedOperationException("Not implemented yet");
166 throw new UnsupportedOperationException("Not implemented yet")
    [all...]
ImageOutputStreamImpl.java 70 throw new UnsupportedOperationException("Not implemented yet");
84 throw new UnsupportedOperationException("Not implemented yet");
94 throw new UnsupportedOperationException("Not implemented yet");
116 throw new UnsupportedOperationException("Not implemented yet");
121 throw new UnsupportedOperationException("Not implemented yet");
126 throw new UnsupportedOperationException("Not implemented yet");
131 throw new UnsupportedOperationException("Not implemented yet");
136 throw new UnsupportedOperationException("Not implemented yet");
141 throw new UnsupportedOperationException("Not implemented yet");
146 throw new UnsupportedOperationException("Not implemented yet")
    [all...]
  /dalvik/libcore/nio/src/main/java/java/nio/
CharSequenceAdapter.java 54 throw new ReadOnlyBufferException();
65 throw new BufferUnderflowException();
73 throw new IndexOutOfBoundsException();
82 throw new IndexOutOfBoundsException();
85 throw new BufferUnderflowException();
110 throw new UnsupportedOperationException();
115 throw new UnsupportedOperationException();
125 throw new ReadOnlyBufferException();
130 throw new ReadOnlyBufferException();
136 throw new IndexOutOfBoundsException()
    [all...]
ReadOnlyDirectByteBuffer.java 63 throw new ReadOnlyBufferException();
78 throw new ReadOnlyBufferException();
83 throw new ReadOnlyBufferException();
88 throw new ReadOnlyBufferException();
93 throw new ReadOnlyBufferException();
98 throw new ReadOnlyBufferException();
103 throw new ReadOnlyBufferException();
108 throw new ReadOnlyBufferException();
113 throw new ReadOnlyBufferException();
118 throw new ReadOnlyBufferException()
    [all...]
ReadOnlyCharArrayBuffer.java 54 throw new ReadOnlyBufferException();
69 throw new ReadOnlyBufferException();
74 throw new ReadOnlyBufferException();
84 throw new ReadOnlyBufferException();
89 throw new ReadOnlyBufferException();
94 throw new ReadOnlyBufferException();
99 throw new ReadOnlyBufferException();
106 throw new IndexOutOfBoundsException();
108 throw new ReadOnlyBufferException();
  /external/proguard/src/proguard/classfile/io/
RuntimeDataInput.java 52 throw new RuntimeException(ex.getMessage());
64 throw new RuntimeException(ex.getMessage());
76 throw new RuntimeException(ex.getMessage());
88 throw new RuntimeException(ex.getMessage());
100 throw new RuntimeException(ex.getMessage());
112 throw new RuntimeException(ex.getMessage());
124 throw new RuntimeException(ex.getMessage());
136 throw new RuntimeException(ex.getMessage());
148 throw new RuntimeException(ex.getMessage());
160 throw new RuntimeException(ex.getMessage())
    [all...]
RuntimeDataOutput.java 52 throw new RuntimeException(ex.getMessage());
65 throw new RuntimeException(ex.getMessage());
78 throw new RuntimeException(ex.getMessage());
91 throw new RuntimeException(ex.getMessage());
104 throw new RuntimeException(ex.getMessage());
117 throw new RuntimeException(ex.getMessage());
130 throw new RuntimeException(ex.getMessage());
143 throw new RuntimeException(ex.getMessage());
156 throw new RuntimeException(ex.getMessage());
169 throw new RuntimeException(ex.getMessage())
    [all...]
  /dalvik/libcore/sql/src/main/java/SQLite/JDBC2y/
JDBCConnection.java 101 throw new SQLException(e.toString());
119 throw new SQLException(e.toString());
134 throw new SQLException("unsupported url");
148 throw e;
188 throw new SQLException(e.toString());
206 throw new SQLException("stale connection");
215 throw new SQLException(e.toString());
236 throw new SQLException("not supported");
240 throw new SQLException("not supported");
245 throw new SQLException("not supported")
    [all...]
JDBCPreparedStatement.java 125 throw new SQLException("bad parameter index");
134 throw new SQLException("bad parameter index");
142 throw new SQLException("bad parameter index");
150 throw new SQLException("bad parameter index");
158 throw new SQLException("bad parameter index");
166 throw new SQLException("bad parameter index");
174 throw new SQLException("bad parameter index");
182 throw new SQLException("bad parameter index");
191 throw new SQLException("bad parameter index");
203 throw new SQLException("bad parameter index")
    [all...]
JDBCStatement.java 21 throw new SQLException("not supported");
33 throw new SQLException("not supported");
37 throw new SQLException("not supported");
78 throw new SQLException("stale connection");
125 throw new SQLException(e.toString());
130 throw new SQLException("no result set produced");
148 throw new SQLException("stale connection");
185 throw new BatchUpdateException("batch failed", ret);
228 throw new SQLException("not supported");
232 throw new SQLException("not supported")
    [all...]
  /cts/tools/vm-tests/src/dot/junit/
DxAbstractMain.java 22 if (expected != actual) throw new RuntimeException("AssertionFailedError: not equals. Expected " + expected + " actual " + actual);
26 if (expected != actual) throw new RuntimeException("AssertionFailedError: not equals: " + message + " Expected " + expected + " actual " + actual);
31 if (expected != actual) throw new RuntimeException("AssertionFailedError: not equals. Expected " + expected + " actual " + actual);
35 if(!(Math.abs(expected-actual) <= delta)) throw new RuntimeException("AssertionFailedError: not within delta");
43 throw new RuntimeException("AssertionFailedError: not the same");
47 if (!condition) throw new RuntimeException("AssertionFailedError: condition was false");
51 if (condition) throw new RuntimeException("AssertionFailedError: condition was true");
55 if (object == null) throw new RuntimeException("AssertionFailedError: object was null");
59 if (object != null) throw new RuntimeException("AssertionFailedError: object was not null");
63 throw new RuntimeException("AssertionFailedError msg:"+message)
    [all...]
  /dalvik/libcore/xml/src/main/java/org/apache/harmony/xml/parsers/
SAXParserFactoryImpl.java 46 throw new NullPointerException();
50 throw new SAXNotRecognizedException(name);
61 throw new AssertionError(ex);
70 throw new AssertionError(ex);
77 throw new ParserConfigurationException(
84 throw new ParserConfigurationException(ex.toString());
91 throw new NullPointerException();
95 throw new SAXNotRecognizedException(name);
111 throw new AssertionError(ex);
120 throw new AssertionError(ex)
    [all...]
  /dalvik/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
TestKeyStoreSpi.java 74 throw new KeyStoreException("entry " + alias + " cannot be deleted");
85 throw new NullPointerException();
113 throw new NoSuchAlgorithmException("no such alg");
115 throw new UnrecoverableKeyException();
122 throw new UnrecoverableKeyException();
151 throw new IOException();
155 throw new NoSuchAlgorithmException();
157 throw new CertificateException();
171 throw new NoSuchAlgorithmException();
177 throw new NoSuchAlgorithmException()
    [all...]
  /frameworks/base/test-runner/src/android/test/mock/
MockIContentProvider.java 38 * Mock implementation of IContentProvider. All methods are non-functional and throw
46 throw new UnsupportedOperationException("unimplemented mock method");
52 throw new UnsupportedOperationException("unimplemented mock method");
58 throw new UnsupportedOperationException("unimplemented mock method");
62 throw new UnsupportedOperationException("unimplemented mock method");
67 throw new UnsupportedOperationException("unimplemented mock method");
71 throw new UnsupportedOperationException("unimplemented mock method");
75 throw new UnsupportedOperationException("unimplemented mock method");
79 throw new UnsupportedOperationException("unimplemented mock method");
84 throw new UnsupportedOperationException("unimplemented mock method")
    [all...]
  /dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/
SneakyThrow.java 21 * Exploits a weakness in the runtime to throw an arbitrary throwable without
34 * throw (IOException) thrown;
36 * throw (RuntimeException) thrown;
38 * throw (Error) thrown;
40 * throw new AssertionError();
63 * Exploits unsafety to throw an exception that the compiler wouldn't permit
68 throw (T) t;
  /dalvik/libcore/support/src/test/java/tests/support/
Support_ASimpleOutputStream.java 43 throw new IOException("Exception thrown for testing purpose.");
50 throw new IOException("Exception thrown for testing purpose.");
57 // throw new IOException("Exception thrown for testing purposes.");
67 // throw new IOException("Exception thrown for testing purposes.");
70 // throw new IndexOutOfBoundsException(); //$NON-NLS-1$
80 throw new IOException("Exception thrown for testing purpose.");
86 throw new IOException("Internal buffer overflow.");
Support_ASimpleWriter.java 43 throw new IOException("Exception thrown for testing purpose.");
50 throw new IOException("Exception thrown for testing purpose.");
57 throw new IOException("Exception thrown for testing purpose.");
60 throw new IndexOutOfBoundsException(); //$NON-NLS-1$
67 throw new IOException("Internal Buffer Overflow");
Support_OutputStream.java 9 * be instructed to throw an {@code IOException} whenever a method is called.
44 throw new IOException("Exception thrown for testing purposes.");
52 throw new IOException("Exception thrown for testing purposes.");
60 throw new IOException("Exception thrown for testing purposes.");
70 throw new IOException("Exception thrown for testing purposes.");
73 throw new IndexOutOfBoundsException(); //$NON-NLS-1$
83 throw new IOException("Exception thrown for testing purposes.");
89 throw new IOException("Internal buffer overflow.");
  /dalvik/tests/045-reflect-array/src/
Main.java 30 throw new RuntimeException();
32 throw new RuntimeException();
35 throw new RuntimeException("store should have failed");
42 throw new RuntimeException("bad len");
48 throw new RuntimeException("cast should have failed");
55 throw new RuntimeException();
71 throw new RuntimeException();
73 throw new RuntimeException();
78 throw new RuntimeException("bad len");
95 throw new RuntimeException("store should have failed")
    [all...]
  /frameworks/base/tests/permission/src/com/android/framework/permission/tests/
ActivityManagerPermissionTests.java 43 fail("IActivityManager.moveTaskToFront did not throw SecurityException as"
53 fail("IActivityManager.moveTaskToBack did not throw SecurityException as"
63 fail("IActivityManager.moveTaskToFront did not throw SecurityException as"
76 fail("IActivityManager.updateConfiguration did not throw SecurityException as"
89 fail("IActivityManager.setDebugApp did not throw SecurityException as"
102 fail("IActivityManager.setProcessLimit did not throw SecurityException as"
115 fail("IActivityManager.setAlwaysFinish did not throw SecurityException as"
128 fail("IActivityManager.signalPersistentProcesses did not throw SecurityException as"
141 fail("IActivityManager.unhandledBack did not throw SecurityException as"
154 fail("IActivityManager.setActivityController did not throw SecurityException as
    [all...]
  /packages/apps/Mms/src/com/android/mms/model/
CarrierContentRestriction.java 47 throw new ContentRestrictionException("Negative message size"
53 throw new ExceedMessageSizeException("Exceed message size limitation");
59 throw new ResolutionException("content resolution exceeds restriction.");
66 throw new ContentRestrictionException("Null content type to be check");
70 throw new UnsupportContentTypeException("Unsupported image content type : "
78 throw new ContentRestrictionException("Null content type to be check");
82 throw new UnsupportContentTypeException("Unsupported audio content type : "
90 throw new ContentRestrictionException("Null content type to be check");
94 throw new UnsupportContentTypeException("Unsupported video content type : "
  /dalvik/dx/tests/066-dex-try-catch-rethrow/
Blort.java 27 throw new RuntimeException(ex);
39 throw new RuntimeException(ex);
51 throw new RuntimeException(ex);
63 throw new RuntimeException(ex);
75 throw new RuntimeException(ex);
  /cts/tests/tests/view/src/android/view/cts/
InflateExceptionTest.java 59 throw ne;
65 fail("should throw out InflateException");
76 throw ne;
82 fail("should throw out InflateException");
90 throw ne;
96 fail("should throw out InflateException");
104 throw ne;
110 fail("should throw out InflateException");
  /dalvik/dx/tests/055-dex-explicit-throw/
expected.txt 4 0002: throw v0
8 0002: throw v1
  /dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/params/
RSAKeyGenerationParameters.java 24 throw new IllegalArgumentException("key strength too small");
32 throw new IllegalArgumentException("public exponent cannot be even");

Completed in 73 milliseconds

1 23 4 5 6 7 8 91011>>