Home
last modified time | relevance | path

Searched refs:ex (Results 1 – 25 of 104) sorted by relevance

12345

/dalvik/dx/tests/080-dex-exception-tables/
DBlort.java29 } catch (IndexOutOfBoundsException ex) { in test1()
31 } catch (RuntimeException ex) { in test1()
44 } catch (IndexOutOfBoundsException ex) { in test2()
48 } catch (RuntimeException ex) { in test2()
62 } catch (NullPointerException ex) { in test3()
66 } catch (IndexOutOfBoundsException ex) { in test3()
70 } catch (RuntimeException ex) { in test3()
84 } catch (NullPointerException ex) { in test4()
87 } catch (IndexOutOfBoundsException ex) { in test4()
91 } catch (RuntimeException ex) { in test4()
[all …]
/dalvik/dx/tests/066-dex-try-catch-rethrow/
DBlort.java26 } catch (Exception ex) { in test1()
27 throw new RuntimeException(ex); in test1()
38 } catch (Exception ex) { in test2()
39 throw new RuntimeException(ex); in test2()
50 } catch (Exception ex) { in test3()
51 throw new RuntimeException(ex); in test3()
62 } catch (Exception ex) { in test4()
63 throw new RuntimeException(ex); in test4()
74 } catch (Exception ex) { in test5()
75 throw new RuntimeException(ex); in test5()
/dalvik/dx/tests/067-dex-switch-and-try/
DBlort.java36 } catch (RuntimeException ex) { in test1()
57 } catch (RuntimeException ex) { in test2()
73 } catch (RuntimeException ex) { in test3()
98 } catch (RuntimeException ex) { in test4()
108 } catch (RuntimeException ex) { in test4()
/dalvik/dx/tests/046-dex-exceptions/
DBlort.java31 } catch (RuntimeException ex) { in exTest1()
40 } catch (RuntimeException ex) { in exTest2()
48 } catch (RuntimeException ex) { in exTest2()
54 } catch (RuntimeException ex) { in exTest2()
/dalvik/dx/tests/061-dex-try-catch/
DBlort.java31 } catch (RuntimeException ex) { in test1()
41 } catch (RuntimeException ex) { in test2()
51 } catch (RuntimeException ex) { in test3()
62 } catch (RuntimeException ex) { in test4()
/dalvik/dx/src/com/android/dx/command/
DMain.java116 } catch (UsageException ex) { in main()
118 } catch (RuntimeException ex) { in main()
120 ex.printStackTrace(); in main()
122 } catch (Throwable ex) { in main()
124 ex.printStackTrace(); in main()
125 if ((ex instanceof NoClassDefFoundError) in main()
126 || (ex instanceof NoSuchMethodError)) { in main()
/dalvik/dx/src/com/android/dx/cf/code/
DExecutionStack.java81 public void annotate(ExceptionWithContext ex) { in annotate() argument
87 ex.addContext("stack[" + idx + "]: " + in annotate()
162 } catch (NullPointerException ex) { in push()
279 } catch (NullPointerException ex) { in change()
309 } catch (SimException ex) { in merge()
310 ex.addContext("underlay stack:"); in merge()
311 this.annotate(ex); in merge()
312 ex.addContext("overlay stack:"); in merge()
313 other.annotate(ex); in merge()
314 throw ex; in merge()
DOneLocalsArray.java58 public void annotate(ExceptionWithContext ex) { in annotate() argument
62 ex.addContext("locals[" + Hex.u2(i) + "]: " + s); in annotate()
110 } catch (NullPointerException ex) { in set()
211 } catch (SimException ex) { in merge()
212 ex.addContext("underlay locals:"); in merge()
213 annotate(ex); in merge()
214 ex.addContext("overlay locals:"); in merge()
215 other.annotate(ex); in merge()
216 throw ex; in merge()
DLocalsArraySet.java123 public void annotate(ExceptionWithContext ex) { in annotate() argument
124 ex.addContext("(locals array set; primary)"); in annotate()
125 primary.annotate(ex); in annotate()
132 ex.addContext("(locals array set: primary for caller " in annotate()
135 la.getPrimary().annotate(ex); in annotate()
283 } catch (SimException ex) { in mergeWithSet()
284 ex.addContext( in mergeWithSet()
324 } catch (SimException ex) { in mergeWithOne()
325 ex.addContext("Merging one locals against caller block " in mergeWithOne()
353 } catch (SimException ex) { in merge()
[all …]
/dalvik/dx/src/com/android/dx/cf/direct/
DAttributeListParser.java152 } catch (ParseException ex) { in parse()
153 ex.addContext("...while parsing attributes[" + i + "]"); in parse()
154 throw ex; in parse()
155 } catch (RuntimeException ex) { in parse()
156 ParseException pe = new ParseException(ex); in parse()
DMemberListParser.java226 } catch (ParseException ex) { in parse()
227 ex.addContext("...while parsing " + humanName() + "s[" + i + in parse()
229 throw ex; in parse()
230 } catch (RuntimeException ex) { in parse()
231 ParseException pe = new ParseException(ex); in parse()
DAttributeFactory.java98 } catch (ParseException ex) { in parse()
99 ex.addContext("...while parsing " + in parse()
102 throw ex; in parse()
/dalvik/dx/src/com/android/dex/util/
DExceptionWithContext.java39 public static ExceptionWithContext withContext(Throwable ex, String str) { in withContext() argument
42 if (ex instanceof ExceptionWithContext) { in withContext()
43 ewc = (ExceptionWithContext) ex; in withContext()
45 ewc = new ExceptionWithContext(ex); in withContext()
/dalvik/dexgen/src/com/android/dexgen/util/
DExceptionWithContext.java40 public static ExceptionWithContext withContext(Throwable ex, String str) { in withContext() argument
43 if (ex instanceof ExceptionWithContext) { in withContext()
44 ewc = (ExceptionWithContext) ex; in withContext()
46 ewc = new ExceptionWithContext(ex); in withContext()
DFileUtils.java90 } catch (IOException ex) { in readFile()
91 throw new RuntimeException(file + ": trouble reading", ex); in readFile()
DTwoColumnOutput.java72 } catch (IOException ex) { in toString()
73 throw new RuntimeException("shouldn't happen", ex); in toString()
160 } catch (IOException ex) { in flush()
161 throw new RuntimeException(ex); in flush()
/dalvik/dx/src/com/android/dx/dex/file/
DDexFile.java176 } catch (IllegalArgumentException ex) { in getClassOrNull()
548 } catch (RuntimeException ex) { in toDex0()
549 throw ExceptionWithContext.withContext(ex, in toDex0()
574 } catch (RuntimeException ex) { in toDex0()
576 if (ex instanceof ExceptionWithContext) { in toDex0()
577 ec = (ExceptionWithContext) ex; in toDex0()
579 ec = new ExceptionWithContext(ex); in toDex0()
631 } catch (NoSuchAlgorithmException ex) { in calcSignature()
632 throw new RuntimeException(ex); in calcSignature()
643 } catch (DigestException ex) { in calcSignature()
[all …]
/dalvik/dexgen/src/com/android/dexgen/dex/file/
DDexFile.java156 } catch (IllegalArgumentException ex) { in getClassOrNull()
528 } catch (RuntimeException ex) { in toDex0()
529 throw ExceptionWithContext.withContext(ex, in toDex0()
554 } catch (RuntimeException ex) { in toDex0()
556 if (ex instanceof ExceptionWithContext) { in toDex0()
557 ec = (ExceptionWithContext) ex; in toDex0()
559 ec = new ExceptionWithContext(ex); in toDex0()
611 } catch (NoSuchAlgorithmException ex) { in calcSignature()
612 throw new RuntimeException(ex); in calcSignature()
623 } catch (DigestException ex) { in calcSignature()
[all …]
/dalvik/dx/src/com/android/dx/command/dump/
DMain.java97 } catch (UnsupportedEncodingException ex) { in run()
98 throw new RuntimeException("shouldn't happen", ex); in run()
103 } catch (ParseException ex) { in run()
106 ex.printStackTrace(); in run()
108 ex.printContext(System.err); in run()
/dalvik/dexgen/src/com/android/dexgen/dex/code/
DDalvInsnList.java155 } catch (RuntimeException ex) { in writeTo()
156 throw ExceptionWithContext.withContext(ex, in writeTo()
245 } catch (IOException ex) { in debugPrint()
246 throw new RuntimeException(ex); in debugPrint()
264 } catch (IOException ex) { in debugPrint()
265 throw new RuntimeException(ex); in debugPrint()
/dalvik/dx/src/com/android/dx/command/annotool/
DMain.java80 } catch (IllegalArgumentException ex) { in parse()
91 } catch (IllegalArgumentException ex) { in parse()
139 } catch (InvalidArgumentException ex) { in main()
140 System.err.println(ex.getMessage()); in main()
/dalvik/dx/src/com/android/dx/dex/code/
DDalvInsnList.java158 } catch (RuntimeException ex) { in writeTo()
159 throw ExceptionWithContext.withContext(ex, in writeTo()
259 } catch (IOException ex) { in debugPrint()
260 throw new RuntimeException(ex); in debugPrint()
278 } catch (IOException ex) { in debugPrint()
279 throw new RuntimeException(ex); in debugPrint()
/dalvik/dx/src/com/android/dx/cf/cst/
DConstantPoolParser.java232 } catch (ParseException ex) { in determineOffsets()
233 ex.addContext("...while preparsing cst " + Hex.u2(i) + " at offset " + Hex.u4(at)); in determineOffsets()
234 throw ex; in determineOffsets()
342 } catch (ParseException ex) { in parse0()
343 ex.addContext("...while parsing cst " + Hex.u2(idx) + in parse0()
345 throw ex; in parse0()
346 } catch (RuntimeException ex) { in parse0()
347 ParseException pe = new ParseException(ex); in parse0()
372 } catch (IllegalArgumentException ex) { in parseUtf8()
374 throw new ParseException(ex); in parseUtf8()
/dalvik/dx/src/com/android/dx/util/
DTwoColumnOutput.java72 } catch (IOException ex) { in toString()
73 throw new RuntimeException("shouldn't happen", ex); in toString()
160 } catch (IOException ex) { in flush()
161 throw new RuntimeException(ex); in flush()
/dalvik/dx/tests/055-dex-explicit-throw/
DBlort.java28 } catch (RuntimeException ex) { in test2()

12345