Home
last modified time | relevance | path

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

12345

/dalvik/dx/tests/080-dex-exception-tables/
DBlort.class ... ex RuntimeException ex public static int test5 () NullPointerException ex IndexOutOfBoundsException ex RuntimeException ex public static int test6 ()
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/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()
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()
284 } catch (SimException ex) { in mergeWithSet()
285 ex.addContext( in mergeWithSet()
325 } catch (SimException ex) { in mergeWithOne()
326 ex.addContext("Merging one locals against caller block " in mergeWithOne()
354 } catch (SimException ex) { in merge()
[all …]
DOneLocalsArray.java60 public void annotate(ExceptionWithContext ex) { in annotate() argument
64 ex.addContext("locals[" + Hex.u2(i) + "]: " + s); in annotate()
116 } catch (NullPointerException ex) { in set()
223 } catch (SimException ex) { in merge()
224 ex.addContext("underlay locals:"); in merge()
225 annotate(ex); in merge()
226 ex.addContext("overlay locals:"); in merge()
227 other.annotate(ex); in merge()
228 throw ex; in merge()
/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/src/com/android/dx/command/
DMain.java117 } catch (UsageException ex) { in main()
119 } catch (RuntimeException ex) { in main()
121 ex.printStackTrace(); in main()
123 } catch (Throwable ex) { in main()
125 ex.printStackTrace(); in main()
126 if ((ex instanceof NoClassDefFoundError) in main()
127 || (ex instanceof NoSuchMethodError)) { in main()
/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/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()
/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/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()
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/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/dump/
DMain.java96 } catch (UnsupportedEncodingException ex) { in run()
97 throw new RuntimeException("shouldn't happen", ex); in run()
102 } catch (ParseException ex) { in run()
105 ex.printStackTrace(); in run()
107 ex.printContext(System.err); in run()
/dalvik/dx/src/com/android/dx/command/dexer/
DMain.java391 } catch (InterruptedException ex) { in runMultiDex()
557 } catch(InterruptedException ex) { in processAllFiles()
578 } catch (StopProcessing ex) { in processAllFiles()
594 } catch(ExecutionException ex) { in processAllFiles()
601 ex.getCause().printStackTrace(context.err); in processAllFiles()
603 context.err.println("Uncaught translation error: " + ex.getCause()); in processAllFiles()
757 } catch (ParseException ex) { in processClass()
759 throw ex; in processClass()
760 } catch(Exception ex) { in processClass()
761 throw new RuntimeException("Exception parsing classes", ex); in processClass()
[all …]
/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/file/
DDexFile.java206 } catch (IllegalArgumentException ex) { in getClassOrNull()
681 } catch (RuntimeException ex) { in toDex0()
682 throw ExceptionWithContext.withContext(ex, in toDex0()
711 } catch (RuntimeException ex) { in toDex0()
713 if (ex instanceof ExceptionWithContext) { in toDex0()
714 ec = (ExceptionWithContext) ex; in toDex0()
716 ec = new ExceptionWithContext(ex); in toDex0()
769 } catch (NoSuchAlgorithmException ex) { in calcSignature()
770 throw new RuntimeException(ex); in calcSignature()
781 } catch (DigestException ex) { in calcSignature()
[all …]
DDebugInfoItem.java75 } catch (RuntimeException ex) { in place0()
76 throw ExceptionWithContext.withContext(ex, in place0()
147 } catch (RuntimeException ex) { in encode()
151 throw ex; in encode()
/dalvik/dx/src/com/android/dx/dex/code/
DDalvInsnList.java159 } catch (RuntimeException ex) { in writeTo()
160 throw ExceptionWithContext.withContext(ex, in writeTo()
263 } catch (IOException ex) { in debugPrint()
264 throw new RuntimeException(ex); in debugPrint()
282 } catch (IOException ex) { in debugPrint()
283 throw new RuntimeException(ex); in debugPrint()
/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/src/com/android/dx/cf/cst/
DConstantPoolParser.java241 } catch (ParseException ex) { in determineOffsets()
242 ex.addContext("...while preparsing cst " + Hex.u2(i) + " at offset " + Hex.u4(at)); in determineOffsets()
243 throw ex; in determineOffsets()
391 } catch (ParseException ex) { in parse0()
392 ex.addContext("...while parsing cst " + Hex.u2(idx) + in parse0()
394 throw ex; in parse0()
395 } catch (RuntimeException ex) { in parse0()
396 ParseException pe = new ParseException(ex); in parse0()
421 } catch (IllegalArgumentException ex) { in parseUtf8()
423 throw new ParseException(ex); in parseUtf8()

12345