Home
last modified time | relevance | path

Searched refs:exceptionHandler (Results 1 – 25 of 37) 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/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/guava/android/guava/src/com/google/common/eventbus/
DEventBus.java102 private final SubscriberExceptionHandler exceptionHandler; field in EventBus
132 public EventBus(SubscriberExceptionHandler exceptionHandler) { in EventBus() argument
137 exceptionHandler); in EventBus()
144 SubscriberExceptionHandler exceptionHandler) { in EventBus() argument
148 this.exceptionHandler = checkNotNull(exceptionHandler); in EventBus()
170 exceptionHandler.handleException(e, context); in handleSubscriberException()
/external/guava/guava/src/com/google/common/eventbus/
DEventBus.java102 private final SubscriberExceptionHandler exceptionHandler; field in EventBus
132 public EventBus(SubscriberExceptionHandler exceptionHandler) { in EventBus() argument
137 exceptionHandler); in EventBus()
144 SubscriberExceptionHandler exceptionHandler) { in EventBus() argument
148 this.exceptionHandler = checkNotNull(exceptionHandler); in EventBus()
170 exceptionHandler.handleException(e, context); in handleSubscriberException()
/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/
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()
DFailingCoroutinesMachineryTest.kt36 … private var exceptionHandler = CoroutineExceptionHandler { _, t -> caught = t;latch.countDown() } in <lambda>() variable in kotlinx.coroutines.FailingCoroutinesMachineryTest
118 launch(NonCancellable + dispatcher.value + exceptionHandler + element) {} in <lambda>()
124 launch(NonCancellable + dispatcher.value + exceptionHandler) { in <lambda>()
132 launch(lazyOuterDispatcher.value + NonCancellable + exceptionHandler) { in <lambda>()
/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/kotlinx-coroutines-core/jvm/test/exceptions/
DCoroutineExceptionHandlerJvmTest.kt14 private val exceptionHandler = Thread.getDefaultUncaughtExceptionHandler() in <lambda>() constant in kotlinx.coroutines.exceptions.CoroutineExceptionHandlerJvmTest
24 Thread.setDefaultUncaughtExceptionHandler(exceptionHandler) in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-test/test/
DTestRunBlockingTest.kt374 private val exceptionHandler = TestCoroutineExceptionHandler() in <lambda>() constant in kotlinx.coroutines.test.TestRunBlockingTest
380 assertNotSame(coroutineContext[CoroutineExceptionHandler], exceptionHandler) in <lambda>()
389 fun testOverrideExceptionHandler() = runBlockingTest(exceptionHandler) { in <lambda>()
390 assertSame(coroutineContext[CoroutineExceptionHandler], exceptionHandler) in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-test/src/
DTestBuilders.kt89 val exceptionHandler = get(CoroutineExceptionHandler).run { in runBlockingTest() constant
97 return Pair(this + dispatcher + exceptionHandler + job, dispatcher as DelayController) in runBlockingTest()
/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/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
DANTLRv3.g222 : ( exceptionHandler )+ ( finallyClause )?
226 exceptionHandler
DDefineGrammarItemsWalker.g374 : ( exceptionHandler )+ (finallyClause)?
378 exceptionHandler
DTreeToNFAConverter.g322 : ( exceptionHandler )+ (finallyClause)?
326 exceptionHandler
DANTLR.g717 : exceptionHandler+ finallyClause?
721 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()
/external/antlr/gunit/src/main/antlr3/org/antlr/gunit/swingui/parsers/
DANTLRv3.g225 : ( exceptionHandler )+ ( finallyClause )?
229 exceptionHandler

12