Home
last modified time | relevance | path

Searched refs:getException (Results 1 – 8 of 8) sorted by relevance

/tools/tradefederation/core/common_util/com/android/tradefed/util/net/
DHttpHelper.java200 } else if (runnable.getException() instanceof IOException) { in doGetWithRetry()
201 throw (IOException) runnable.getException(); in doGetWithRetry()
202 } else if (runnable.getException() instanceof DataSizeException) { in doGetWithRetry()
203 throw (DataSizeException) runnable.getException(); in doGetWithRetry()
204 } else if (runnable.getException() instanceof RuntimeException) { in doGetWithRetry()
205 throw (RuntimeException) runnable.getException(); in doGetWithRetry()
220 } else if (runnable.getException() instanceof IOException) { in doGetIgnoreWithRetry()
221 throw (IOException) runnable.getException(); in doGetIgnoreWithRetry()
222 } else if (runnable.getException() instanceof RuntimeException) { in doGetIgnoreWithRetry()
223 throw (RuntimeException) runnable.getException(); in doGetIgnoreWithRetry()
[all …]
/tools/loganalysis/javatests/com/android/loganalysis/parser/
DJavaCrashParserTest.java43 assertEquals("java.lang.Exception", jc.getException()); in testParse_no_message()
60 assertEquals("java.lang.Exception", jc.getException()); in testParse_message()
79 assertEquals("java.lang.Exception", jc.getException()); in testParse_multiline_message()
104 assertEquals("java.lang.Exception", jc.getException()); in testParse_caused_by()
123 assertEquals("java.lang.Exception", jc.getException()); in testParse_cutoff()
145 assertEquals("java.lang.Exception", jc.getException()); in testParse_begin_end_markers()
DLogcatParserTest.java679 assertEquals("java.lang.Exception2", logcat.getJavaCrashes().get(0).getException()); in testParse_reboot_resume()
699 assertEquals("java.lang.Exception2", logcat.getJavaCrashes().get(0).getException()); in testParse_reboot_resume()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/junit4/
DRunNotifierWrapper.java85 if (failure.getException() instanceof DeviceNotAvailableException) { in fireTestFailure()
86 mDnae = (DeviceNotAvailableException) failure.getException(); in fireTestFailure()
87 } else if (failure.getException() instanceof InterruptedException) { in fireTestFailure()
88 throw new CarryInterruptedException((InterruptedException) failure.getException()); in fireTestFailure()
DJUnit4ResultForwarder.java72 Throwable error = failure.getException(); in testFailure()
104 mTestCaseFailures.add(failure.getException()); in testFailure()
109 mTestCaseFailures.add(failure.getException()); in testAssumptionFailure()
/tools/tradefederation/core/javatests/com/android/tradefed/util/net/
DHttpHelperFuncTest.java56 Throwable e = backend.getException(); in testTimeout()
97 Throwable e = backend.getException(); in testNoTimeout()
139 public Throwable getException() { in getException() method in HttpHelperFuncTest.Backend
/tools/loganalysis/src/com/android/loganalysis/item/
DJavaCrashItem.java48 public String getException() { in getException() method in JavaCrashItem
/tools/tradefederation/core/isolation/com/android/tradefed/isolation/
DIsolationResultForwarder.java73 testAssumptionFailure(new Failure(child, failure.getException())); in testAssumptionFailure()