Home
last modified time | relevance | path

Searched refs:exceptionHandler (Results 1 – 25 of 41) 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/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/rewriter/
DExceptionHandlerRewriter.java51 @Nonnull protected ExceptionHandler exceptionHandler; field in ExceptionHandlerRewriter.RewrittenExceptionHandler
53 public RewrittenExceptionHandler(@Nonnull ExceptionHandler exceptionHandler) { in RewrittenExceptionHandler() argument
54 this.exceptionHandler = exceptionHandler; in RewrittenExceptionHandler()
58 …return RewriterUtils.rewriteNullable(rewriters.getTypeRewriter(), exceptionHandler.getExceptionTyp… in getExceptionType()
62 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/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/immutable/
DImmutableExceptionHandler.java51 public static ImmutableExceptionHandler of(ExceptionHandler exceptionHandler) { in of() argument
52 if (exceptionHandler instanceof ImmutableExceptionHandler) { in of()
53 return (ImmutableExceptionHandler)exceptionHandler; in of()
56 exceptionHandler.getExceptionType(), in of()
57 exceptionHandler.getHandlerCodeAddress()); in of()
/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/builder/
DBuilderTryBlock.java43 @Nonnull public final BuilderExceptionHandler exceptionHandler; field in BuilderTryBlock
53 this.exceptionHandler = BuilderExceptionHandler.newExceptionHandler(exceptionType, handler); in BuilderTryBlock()
60 this.exceptionHandler = BuilderExceptionHandler.newExceptionHandler(exceptionType, handler); in BuilderTryBlock()
66 this.exceptionHandler = BuilderExceptionHandler.newExceptionHandler(handler); in BuilderTryBlock()
78 return ImmutableList.of(exceptionHandler); in getExceptionHandlers()
/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()
/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/concurrent/
DBasicThreadFactory.java126 uncaughtExceptionHandler = builder.exceptionHandler; in BasicThreadFactory()
260 private Thread.UncaughtExceptionHandler exceptionHandler; field in BasicThreadFactory.Builder
341 exceptionHandler = handler; in uncaughtExceptionHandler()
353 exceptionHandler = null; in reset()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/
DFailingCoroutinesMachineryTest.kt36 … private var exceptionHandler = CoroutineExceptionHandler { _, t -> caught = t; latch.countDown() } in <lambda>() variable
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.kt16 val exceptionHandler = coroutineContext[CoroutineExceptionHandler]!! in <lambda>() constant
22 val job = GlobalScope.launch(element + exceptionHandler) { in <lambda>()
42 val exceptionHandler = coroutineContext[CoroutineExceptionHandler]!! in testUndispatched() constant
46 context = Dispatchers.Default + exceptionHandler + element, in testUndispatched()
/external/kotlinx.coroutines/kotlinx-coroutines-test/jvm/src/migration/
DTestCoroutineScope.kt195 …val exceptionHandler = when (val exceptionHandler = ctxWithDispatcher[CoroutineExceptionHandler]) { in createTestCoroutineScope() constant
196 is UncaughtExceptionCaptor -> exceptionHandler in createTestCoroutineScope()
206 return TestCoroutineScopeImpl(ctxWithDispatcher + exceptionHandler + job).also { in createTestCoroutineScope()
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/downloader/offroad/
DOffroad2FileDownloader.java63 private final ExceptionHandler exceptionHandler; field in Offroad2FileDownloader
75 ExceptionHandler exceptionHandler, in Offroad2FileDownloader() argument
83 this.exceptionHandler = exceptionHandler; in Offroad2FileDownloader()
122 exceptionHandler.mapToDownloadException("failure in download!", in startDownloading()
/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/jdk8/future/
DFutureAsDeferredUnhandledCompletionExceptionTest.kt17 private val exceptionHandler = Thread.getDefaultUncaughtExceptionHandler() in <lambda>() constant
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.kt170 val exceptionHandler = when (ctxWithDispatcher[CoroutineExceptionHandler]) { in advanceUntilIdle() constant
180 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/google-smali/dexlib2/src/test/java/com/android/tools/smali/dexlib2/builder/
DFixOffsetsTest.java119 ExceptionHandler exceptionHandler = exceptionHandlers.get(0).getExceptionHandlers().get(0); in testFixOffsets() local
120 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

12