HomeSort by relevance Sort by last modified time
    Searched full:runtimeexception (Results 126 - 150 of 7326) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/testng/src/test/java/test/testng109/
SkippedTestWithExpectedExceptionTest.java 13 throw new RuntimeException("test-exception");
  /external/testng/src/test/java/test/tmp/verify/
VerifyTest.java 19 // throw new RuntimeException();
  /frameworks/base/core/java/android/hardware/camera2/utils/
UncheckedThrow.java 30 * Abuse type erasure by making the compiler think we are throwing RuntimeException,
33 UncheckedThrow.<RuntimeException>throwAnyImpl(e);
42 * Abuse type erasure by making the compiler think we are throwing RuntimeException,
45 UncheckedThrow.<RuntimeException>throwAnyImpl(e);
  /libcore/benchmarks/src/benchmarks/regression/
StringIsEmptyBenchmark.java 25 if (!result) throw new RuntimeException();
33 if (!result) throw new RuntimeException();
41 if (!result) throw new RuntimeException();
49 if (!result) throw new RuntimeException();
  /packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/
ForwardingContentProvider.java 56 throw new RuntimeException(e);
68 throw new RuntimeException(e);
77 throw new RuntimeException(e);
86 throw new RuntimeException(e);
95 throw new RuntimeException(e);
104 throw new RuntimeException(e);
113 throw new RuntimeException(e);
123 throw new RuntimeException(e);
133 throw new RuntimeException(e);
144 throw new RuntimeException(e)
    [all...]
  /frameworks/base/services/robotests/src/com/android/server/backup/testing/
TestUtils.java 43 * exception is unchecked, rethrow it; if it's checked wrap in a {@link RuntimeException} and
59 * the exception is unchecked, rethrow it; if it's checked wrap in a {@link RuntimeException}
74 * Wrap {@code e} in a {@link RuntimeException} only if it's not one already, in which case it's
77 public static RuntimeException wrapIfChecked(Exception e) {
78 if (e instanceof RuntimeException) {
79 return (RuntimeException) e;
81 return new RuntimeException(e);
  /frameworks/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/adapters/
RemoteRenderSessionAdapter.java 42 throw new RuntimeException(e);
51 throw new RuntimeException(e);
60 throw new RuntimeException(e);
69 throw new RuntimeException(e);
78 throw new RuntimeException(e);
87 throw new RuntimeException(e);
108 throw new RuntimeException(e);
  /external/guava/guava-testlib/src/com/google/common/testing/
ClusterException.java 62 final class ClusterException extends RuntimeException {
78 public static RuntimeException create(Throwable... exceptions) {
87 * Given a collection of exceptions, returns a {@link RuntimeException}, with
92 * {@link RuntimeException}, return it
94 * <em>not</em> a {@link RuntimeException}, return a simple
95 * {@code RuntimeException} that wraps it
107 public static RuntimeException create(Collection<? extends Throwable> exceptions) {
114 if (temp instanceof RuntimeException) {
115 return (RuntimeException)temp;
117 return new RuntimeException(temp)
    [all...]
  /external/dagger2/producers/src/test/java/dagger/producers/
ProducedTest.java 41 RuntimeException cause = new RuntimeException("monkey");
51 RuntimeException e1 = new RuntimeException("monkey");
52 RuntimeException e2 = new CancellationException();
  /external/guice/core/src/com/google/inject/internal/
Exceptions.java 34 public static RuntimeException rethrowCause(Throwable throwable) {
43 public static RuntimeException rethrow(Throwable throwable) {
44 if(throwable instanceof RuntimeException) {
45 throw (RuntimeException)throwable;
57 static class UnhandledCheckedUserException extends RuntimeException {
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowSQLiteStatement.java 29 throw new RuntimeException(e);
42 throw new RuntimeException("Could not retrive generatedKeys");
45 throw new RuntimeException(e);
58 throw new RuntimeException(e);
71 throw new RuntimeException(e);
  /frameworks/base/core/java/android/os/
RemoteException.java 40 public RuntimeException rethrowAsRuntimeException() {
41 throw new RuntimeException(this);
57 public RuntimeException rethrowFromSystemServer() {
59 throw new RuntimeException(new DeadSystemException());
61 throw new RuntimeException(this);
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
AsyncTaskUtil.java 40 throw new RuntimeException(e);
42 throw new RuntimeException(e);
44 throw new RuntimeException(e);
56 throw new RuntimeException(e);
58 throw new RuntimeException(e);
  /frameworks/base/telephony/java/android/telephony/ims/
ImsCallSessionListener.java 54 throw new RuntimeException(e);
67 throw new RuntimeException(e);
81 throw new RuntimeException(e);
94 throw new RuntimeException(e);
111 throw new RuntimeException(e);
124 throw new RuntimeException(e);
137 throw new RuntimeException(e);
151 throw new RuntimeException(e);
165 throw new RuntimeException(e);
178 throw new RuntimeException(e)
    [all...]
  /external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
ConverterPerformanceTest.java 56 throw new RuntimeException(ex.getMessage());
73 throw new RuntimeException(e.getMessage());
92 throw new RuntimeException(e.getMessage());
114 throw new RuntimeException(e.getMessage());
123 throw new RuntimeException(e.getMessage());
140 throw new RuntimeException(e.getMessage());
149 throw new RuntimeException(e.getMessage());
166 throw new RuntimeException(e.getMessage());
175 throw new RuntimeException(e.getMessage());
192 throw new RuntimeException(e.getMessage())
    [all...]
  /external/robolectric-shadows/shadowapi/src/test/java/org/robolectric/util/
ReflectionHelpersTest.java 35 failBecauseExceptionWasNotThrown(RuntimeException.class);
36 } catch (RuntimeException e) {
64 failBecauseExceptionWasNotThrown(RuntimeException.class);
65 } catch (RuntimeException e) {
138 failBecauseExceptionWasNotThrown(RuntimeException.class);
139 } catch (RuntimeException e) {
153 } catch (RuntimeException e) {
164 } catch (RuntimeException e) {
175 failBecauseExceptionWasNotThrown(RuntimeException.class);
176 } catch (RuntimeException e)
    [all...]
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
InstructionWriter.java 111 throw new RuntimeException(ex);
120 throw new RuntimeException(ex);
129 throw new RuntimeException(ex);
138 throw new RuntimeException(ex);
147 throw new RuntimeException(ex);
157 throw new RuntimeException(ex);
167 throw new RuntimeException(ex);
177 throw new RuntimeException(ex);
187 throw new RuntimeException(ex);
197 throw new RuntimeException(ex)
    [all...]
  /development/tools/mkstubs/tests/com/android/mkstubs/sourcer/
ClassSourcerTest.java 61 " throw new RuntimeException(\"Stub\");" +
64 " throw new RuntimeException(\"Stub\");" +
67 " throw new RuntimeException(\"Stub\");" +
70 " throw new RuntimeException(\"Stub\");" +
89 " throw new RuntimeException(\"Stub\");\n" +
92 " throw new RuntimeException(\"Stub\");\n" +
95 " throw new RuntimeException(\"Stub\");\n" +
98 " throw new RuntimeException(\"Stub\");\n" +
118 " throw new RuntimeException(\"Stub\");\n" +
121 " throw new RuntimeException(\"Stub\");\n" +
    [all...]
  /frameworks/base/media/mca/filterfw/java/android/filterfw/core/
NativeProgram.java 43 throw new RuntimeException("Could not find native library named '" + fullLibName + "' " +
50 throw new RuntimeException("Could not find native program function name " +
72 throw new RuntimeException("Could not initialize NativeProgram!");
79 throw new RuntimeException("Could not tear down NativeProgram!");
88 throw new RuntimeException("Could not reset NativeProgram!");
100 throw new RuntimeException("NativeProgram already torn down!");
107 throw new RuntimeException("NativeProgram got non-native frame as input "+ i +"!");
116 throw new RuntimeException("NativeProgram got non-native output frame!");
121 throw new RuntimeException("Calling native process() caused error!");
128 throw new RuntimeException("NativeProgram already torn down!")
    [all...]
  /tools/tradefederation/core/src/com/android/tradefed/result/
ResultForwarder.java 95 } catch (RuntimeException e) {
112 } catch (RuntimeException e) {
146 } catch (RuntimeException e) {
161 } catch (RuntimeException e) {
176 } catch (RuntimeException e) {
191 } catch (RuntimeException e) {
204 } catch (RuntimeException e) {
223 } catch (RuntimeException e) {
236 } catch (RuntimeException e) {
255 } catch (RuntimeException e)
    [all...]
  /external/mockito/src/test/java/org/mockitousage/stubbing/
StubbingWithThrowablesTest.java 178 when(mock.isEmpty()).thenThrow(RuntimeException.class, (Class[]) null);
186 when(mock.isEmpty()).thenThrow(RuntimeException.class, (Class) null);
202 doThrow(RuntimeException.class, (Class) null).when(mock).isEmpty();
210 doThrow(RuntimeException.class, (Class[]) null).when(mock).isEmpty();
218 when(mock.isEmpty()).thenThrow(RuntimeException.class, (Class<RuntimeException>[]) null);
291 when(mock.size()).thenThrow(new RuntimeException());
292 doThrow(new RuntimeException()).when(mock).clone();
297 } catch (RuntimeException e) {
303 } catch (RuntimeException e)
    [all...]
  /frameworks/base/media/lib/tvremote/java/com/android/media/tv/remoteprovider/
TvRemoteProvider.java 124 * @throws RuntimeException
127 int maxPointers) throws RuntimeException {
139 * @throws RuntimeException
141 public void closeInputBridge(IBinder token) throws RuntimeException {
155 * @throws RuntimeException
157 public void clearInputBridge(IBinder token) throws RuntimeException {
172 * @throws RuntimeException
174 public void sendTimestamp(IBinder token, long timestamp) throws RuntimeException {
189 * @throws RuntimeException
191 public void sendKeyUp(IBinder token, int keyCode) throws RuntimeException {
    [all...]
  /external/conscrypt/benchmark-base/src/main/java/org/conscrypt/
ClientEndpoint.java 53 throw new RuntimeException(e);
61 throw new RuntimeException(e);
81 throw new RuntimeException(e);
89 throw new RuntimeException(e);
97 throw new RuntimeException(e);
105 throw new RuntimeException(e);
  /external/guava/guava-tests/test/com/google/common/collect/
ConstrainedMapImplementsMapTest.java 61 } catch (RuntimeException tolerated) {
69 } catch (RuntimeException tolerated) {
77 } catch (RuntimeException tolerated) {
85 } catch (RuntimeException tolerated) {
93 } catch (RuntimeException tolerated) {
101 } catch (RuntimeException tolerated) {
ForMapMultimapAsMapImplementsMapTest.java 55 } catch (RuntimeException tolerated) {
63 } catch (RuntimeException tolerated) {
71 } catch (RuntimeException tolerated) {
79 } catch (RuntimeException tolerated) {
87 } catch (RuntimeException tolerated) {
95 } catch (RuntimeException tolerated) {

Completed in 1539 milliseconds

1 2 3 4 56 7 8 91011>>