Home
last modified time | relevance | path

Searched refs:exceptionHandler (Results 1 – 25 of 32) sorted by relevance

12

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/rewriter/
DExceptionHandlerRewriter.java52 @Nonnull protected ExceptionHandler exceptionHandler; field in ExceptionHandlerRewriter.RewrittenExceptionHandler
54 public RewrittenExceptionHandler(@Nonnull ExceptionHandler exceptionHandler) { in RewrittenExceptionHandler() argument
55 this.exceptionHandler = exceptionHandler; in RewrittenExceptionHandler()
59 …return RewriterUtils.rewriteNullable(rewriters.getTypeRewriter(), exceptionHandler.getExceptionTyp… in getExceptionType()
63 return exceptionHandler.getHandlerCodeAddress(); in getHandlerCodeAddress()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typesolvers/
DCombinedTypeSolver.java51 private Predicate<Exception> exceptionHandler; field in CombinedTypeSolver
58 public CombinedTypeSolver(Predicate<Exception> exceptionHandler, TypeSolver... elements) { in CombinedTypeSolver() argument
59 setExceptionHandler(exceptionHandler); in CombinedTypeSolver()
67 public void setExceptionHandler(Predicate<Exception> exceptionHandler) { in setExceptionHandler() argument
68 this.exceptionHandler = exceptionHandler; in setExceptionHandler()
95 if (!exceptionHandler.test(e)) { // we shouldn't ignore this exception in tryToSolveType()
/external/guava/android/guava/src/com/google/common/eventbus/
DEventBus.java157 private final SubscriberExceptionHandler exceptionHandler; field in EventBus
187 public EventBus(SubscriberExceptionHandler exceptionHandler) { in EventBus() argument
192 exceptionHandler); in EventBus()
199 SubscriberExceptionHandler exceptionHandler) { in EventBus() argument
203 this.exceptionHandler = checkNotNull(exceptionHandler); in EventBus()
225 exceptionHandler.handleException(e, context); in handleSubscriberException()
/external/guava/guava/src/com/google/common/eventbus/
DEventBus.java157 private final SubscriberExceptionHandler exceptionHandler; field in EventBus
187 public EventBus(SubscriberExceptionHandler exceptionHandler) { in EventBus() argument
192 exceptionHandler); in EventBus()
199 SubscriberExceptionHandler exceptionHandler) { in EventBus() argument
203 this.exceptionHandler = checkNotNull(exceptionHandler); in EventBus()
225 exceptionHandler.handleException(e, context); in handleSubscriberException()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/
DImmutableExceptionHandler.java52 public static ImmutableExceptionHandler of(ExceptionHandler exceptionHandler) { in of() argument
53 if (exceptionHandler instanceof ImmutableExceptionHandler) { in of()
54 return (ImmutableExceptionHandler)exceptionHandler; in of()
57 exceptionHandler.getExceptionType(), in of()
58 exceptionHandler.getHandlerCodeAddress()); in of()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/builder/
DBuilderTryBlock.java44 @Nonnull public final BuilderExceptionHandler exceptionHandler; field in BuilderTryBlock
54 this.exceptionHandler = BuilderExceptionHandler.newExceptionHandler(exceptionType, handler); in BuilderTryBlock()
61 this.exceptionHandler = BuilderExceptionHandler.newExceptionHandler(exceptionType, handler); in BuilderTryBlock()
67 this.exceptionHandler = BuilderExceptionHandler.newExceptionHandler(handler); in BuilderTryBlock()
79 return ImmutableList.of(exceptionHandler); in getExceptionHandlers()
DMutableMethodImplementation.java118 for (ExceptionHandler exceptionHandler: tryBlock.getExceptionHandlers()) { in MutableMethodImplementation()
120 exceptionHandler.getExceptionTypeReference(), in MutableMethodImplementation()
121 newLabel(codeAddressToIndex, exceptionHandler.getHandlerCodeAddress()))); in MutableMethodImplementation()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/
DFailingCoroutinesMachineryTest.kt36 … private var exceptionHandler = CoroutineExceptionHandler { _, t -> caught = t; latch.countDown() } in <lambda>() variable in kotlinx.coroutines.FailingCoroutinesMachineryTest
120 launch(NonCancellable + dispatcher.value + exceptionHandler + element) {} in <lambda>()
129 launch(NonCancellable + dispatcher.value + exceptionHandler) { in <lambda>()
138 launch(lazyOuterDispatcher.value + NonCancellable + exceptionHandler) { in <lambda>()
DThreadContextElementTest.kt15 val exceptionHandler = coroutineContext[CoroutineExceptionHandler]!! in <lambda>() constant
21 val job = GlobalScope.launch(element + exceptionHandler) { in <lambda>()
41 val exceptionHandler = coroutineContext[CoroutineExceptionHandler]!! in testUndispatched() constant
45 context = Dispatchers.Default + exceptionHandler + element, in testUndispatched()
/external/kotlinx.coroutines/kotlinx-coroutines-test/jvm/src/migration/
DTestCoroutineScope.kt194 …val exceptionHandler = when (val exceptionHandler = ctxWithDispatcher[CoroutineExceptionHandler]) { in createTestCoroutineScope() constant
195 is UncaughtExceptionCaptor -> exceptionHandler in createTestCoroutineScope()
205 return TestCoroutineScopeImpl(ctxWithDispatcher + exceptionHandler + job).also { in createTestCoroutineScope()
/external/libchrome/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
DExceptionHandler.java55 public void setDelegate(ExceptionHandler exceptionHandler) { in setDelegate() argument
56 mDelegate = exceptionHandler; in setDelegate()
/external/kotlinx.coroutines/integration/kotlinx-coroutines-jdk8/test/future/
DFutureAsDeferredUnhandledCompletionExceptionTest.kt17 private val exceptionHandler = Thread.getDefaultUncaughtExceptionHandler() in <lambda>() constant in future.FutureAsDeferredUnhandledCompletionExceptionTest
27 Thread.setDefaultUncaughtExceptionHandler(exceptionHandler) in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-test/jvm/test/migration/
DTestRunBlockingTest.kt409 private val exceptionHandler = TestCoroutineExceptionHandler() in <lambda>() constant
415 assertNotSame(coroutineContext[CoroutineExceptionHandler], exceptionHandler) in <lambda>()
428 fun testOverrideExceptionHandler() = runBlockingTest(exceptionHandler) { in <lambda>()
429 assertSame(coroutineContext[CoroutineExceptionHandler], exceptionHandler) in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/exceptions/
DCoroutineExceptionHandlerJvmTest.kt14 private val exceptionHandler = Thread.getDefaultUncaughtExceptionHandler() in <lambda>() constant
24 Thread.setDefaultUncaughtExceptionHandler(exceptionHandler) in <lambda>()
/external/kotlinx.coroutines/integration/kotlinx-coroutines-guava/test/
DFutureAsDeferredUnhandledCompletionExceptionTest.kt16 private val exceptionHandler = Thread.getDefaultUncaughtExceptionHandler() in <lambda>() constant
26 Thread.setDefaultUncaughtExceptionHandler(exceptionHandler) in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-test/common/src/
DTestScope.kt164 val exceptionHandler = when (ctxWithDispatcher[CoroutineExceptionHandler]) { in advanceUntilIdle() constant
174 return TestScopeImpl(ctxWithDispatcher + exceptionHandler).also { scope = it } in advanceUntilIdle()
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/builder/
DFixOffsetsTest.java118 ExceptionHandler exceptionHandler = exceptionHandlers.get(0).getExceptionHandlers().get(0); in testFixOffsets() local
119 Assert.assertEquals(504, exceptionHandler.getHandlerCodeAddress()); in testFixOffsets()
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-jdk9/test/
DPublishTest.kt148 assertCallsExceptionHandlerWith<TestException> { exceptionHandler -> in <lambda>() method
149 val publisher = flowPublish(currentDispatcher() + exceptionHandler) { in <lambda>()
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-reactive/test/
DPublishTest.kt152 assertCallsExceptionHandlerWith<TestException> { exceptionHandler -> in <lambda>() method
153 val publisher = publish(currentDispatcher() + exceptionHandler) { in <lambda>()
/external/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/
DANTLRv3Tree.g129 : exceptionHandler+ finallyClause?
133 exceptionHandler
DLeftRecursiveRuleWalker.g227 : exceptionHandler+ finallyClause?
231 exceptionHandler
DANTLRTreePrinter.g327 : ( exceptionHandler )+ (finallyClause)?
331 exceptionHandler
DAssignTokenTypesWalker.g342 : ( exceptionHandler )+ (finallyClause)?
346 exceptionHandler
/external/antlr/tool/src/main/java/org/antlr/tool/
Dserialize.g180 : ( exceptionHandler )+ (finallyClause)?
184 exceptionHandler
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/util/
DTryListBuilder.java68 for (EH exceptionHandler: tryBlock.getExceptionHandlers()) { in massageTryBlocks()
69 tlb.addHandler(startAddress, endAddress, exceptionHandler); in massageTryBlocks()

12