Home
last modified time | relevance | path

Searched refs:suppressed (Results 1 – 11 of 11) sorted by relevance

/libcore/dalvik/src/main/java/dalvik/system/
DDexPathList.java266 } catch (IOException suppressed) { in initByteBufferDexPath()
267 System.logE("Unable to load dex files", suppressed); in initByteBufferDexPath()
268 suppressedExceptions.add(suppressed); in initByteBufferDexPath()
346 } catch (IOException suppressed) { in makeInMemoryDexElements()
347 System.logE("Unable to load dex file: " + buf, suppressed); in makeInMemoryDexElements()
348 suppressedExceptions.add(suppressed); in makeInMemoryDexElements()
391 } catch (IOException suppressed) { in makeDexElements()
392 System.logE("Unable to load dex file: " + file, suppressed); in makeDexElements()
393 suppressedExceptions.add(suppressed); in makeDexElements()
398 } catch (IOException suppressed) { in makeDexElements()
[all …]
DDexFile.java320 public Class loadClassBinaryName(String name, ClassLoader loader, List<Throwable> suppressed) { in loadClassBinaryName() argument
321 return defineClass(name, loader, mCookie, this, suppressed); in loadClassBinaryName()
325 DexFile dexFile, List<Throwable> suppressed) { in defineClass() argument
330 if (suppressed != null) { in defineClass()
331 suppressed.add(e); in defineClass()
334 if (suppressed != null) { in defineClass()
335 suppressed.add(e); in defineClass()
/libcore/luni/src/test/java/libcore/java/lang/
DRuntimeExceptionTest.java69 Exception suppressed = new Exception("suppressed"); in whenSuppressionEnabled_addsSuppressed() local
70 error.addSuppressed(suppressed); in whenSuppressionEnabled_addsSuppressed()
71 assertArrayEquals(new Throwable[] {suppressed}, error.getSuppressed()); in whenSuppressionEnabled_addsSuppressed()
DErrorTest.java68 Exception suppressed = new Exception("suppressed"); in whenSuppressionEnabled_addsSuppressed() local
69 error.addSuppressed(suppressed); in whenSuppressionEnabled_addsSuppressed()
70 assertArrayEquals(new Throwable[] {suppressed}, error.getSuppressed()); in whenSuppressionEnabled_addsSuppressed()
DThrowableTest.java180 Throwable suppressed = newThrowable("Suppressed", "A", "B", "E", "F"); in testPrintStackTraceWithEverything() local
182 throwable.addSuppressed(suppressed); in testPrintStackTraceWithEverything()
183 suppressed.addSuppressed(newThrowable("Suppressed/Suppressed", "A", "B", "E", "G")); in testPrintStackTraceWithEverything()
184 suppressed.initCause(newThrowable("Suppressed/Cause", "A", "B", "E", "H")); in testPrintStackTraceWithEverything()
320 Throwable suppressed = newThrowable("Suppressed"); in testEnableSuppressionSerialization() local
321 deserialized.addSuppressed(suppressed); in testEnableSuppressionSerialization()
322 assertSuppressed(deserialized, suppressed); in testEnableSuppressionSerialization()
/libcore/dalvik/test-rules/src/test/java/libcore/dalvik/system/
DCloseGuardSupportTest.java178 Throwable[] suppressed = exception.getSuppressed(); in checkResourceNotReleased() local
179 assertEquals("Suppressed count", 1, suppressed.length); in checkResourceNotReleased()
180 exception = suppressed[0]; in checkResourceNotReleased()
/libcore/ojluni/src/main/java/java/nio/channels/
DSocketChannel.java198 } catch (Throwable suppressed) { in open()
199 x.addSuppressed(suppressed); in open()
/libcore/ojluni/src/main/java/java/nio/file/
DCopyMoveHelper.java142 } catch (Throwable suppressed) { in copyToForeignTarget()
143 x.addSuppressed(suppressed); in copyToForeignTarget()
/libcore/ojluni/src/main/java/sun/nio/ch/
DUnixAsynchronousServerSocketChannelImpl.java262 } catch (Throwable suppressed) { in finishAccept()
263 x.addSuppressed(suppressed); in finishAccept()
DUnixAsynchronousSocketChannelImpl.java289 } catch (Throwable suppressed) { in finishConnect()
290 e.addSuppressed(suppressed); in finishConnect()
380 } catch (Throwable suppressed) { in implConnect()
381 e.addSuppressed(suppressed); in implConnect()
DFileChannelImpl.java583 } catch (Throwable suppressed) { in transferToTrustedChannel()
584 e.addSuppressed(suppressed); in transferToTrustedChannel()