Home
last modified time | relevance | path

Searched refs:exceptionType (Results 1 – 25 of 82) sorted by relevance

1234

/external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/
DExceptionRecorder.java23 private Class<?> exceptionType; field in ExceptionRecorder
28 assertNull("multiple exeptions", exceptionType); in logExeption()
29 exceptionType = ex.getClass(); in logExeption()
35 exceptionType = null; in clear()
41 assertNull(exceptionType); in assertNoException()
44 public void assertException(final Class<? extends Throwable> exceptionType, in assertException() argument
46 assertEquals(exceptionType, this.exceptionType); in assertException()
50 public void assertException(final Class<? extends Throwable> exceptionType, in assertException() argument
52 assertEquals(exceptionType, this.exceptionType); in assertException()
/external/guava/guava/src/com/google/common/util/concurrent/
DAbstractCatchingFuture.java42 Class<X> exceptionType, in create() argument
45 CatchingFuture<V, X> future = new CatchingFuture<>(input, exceptionType, fallback); in create()
52 Class<X> exceptionType, in create() argument
55 AsyncCatchingFuture<V, X> future = new AsyncCatchingFuture<>(input, exceptionType, fallback); in create()
65 @CheckForNull Class<X> exceptionType; field in AbstractCatchingFuture
69 ListenableFuture<? extends V> inputFuture, Class<X> exceptionType, F fallback) { in AbstractCatchingFuture() argument
71 this.exceptionType = checkNotNull(exceptionType); in AbstractCatchingFuture()
78 Class<X> localExceptionType = exceptionType; in run()
138 exceptionType = null; in run()
149 Class<X> localExceptionType = exceptionType; in pendingToString()
[all …]
/external/guava/android/guava/src/com/google/common/util/concurrent/
DAbstractCatchingFuture.java42 Class<X> exceptionType, in create() argument
45 CatchingFuture<V, X> future = new CatchingFuture<>(input, exceptionType, fallback); in create()
52 Class<X> exceptionType, in create() argument
55 AsyncCatchingFuture<V, X> future = new AsyncCatchingFuture<>(input, exceptionType, fallback); in create()
65 @CheckForNull Class<X> exceptionType; field in AbstractCatchingFuture
69 ListenableFuture<? extends V> inputFuture, Class<X> exceptionType, F fallback) { in AbstractCatchingFuture() argument
71 this.exceptionType = checkNotNull(exceptionType); in AbstractCatchingFuture()
78 Class<X> localExceptionType = exceptionType; in run()
138 exceptionType = null; in run()
149 Class<X> localExceptionType = exceptionType; in pendingToString()
[all …]
/external/guava/android/guava-tests/benchmark/com/google/common/util/concurrent/
DFuturesGetCheckedBenchmark.java78 final Class<? extends Exception> exceptionType; field in FuturesGetCheckedBenchmark.ExceptionType
80 ExceptionType(Class<? extends Exception> exceptionType) { in ExceptionType() argument
81 this.exceptionType = exceptionType; in ExceptionType()
102 @Param ExceptionType exceptionType; field in FuturesGetCheckedBenchmark
118 Class<? extends Exception> exceptionType = this.exceptionType.exceptionType; in addOtherEntries() local
133 classValue.get(exceptionType); in addOtherEntries()
143 Class<? extends Exception> exceptionType = this.exceptionType.exceptionType; in benchmarkGetChecked() local
146 tmp += getChecked(validator, future, exceptionType).hashCode(); in benchmarkGetChecked()
/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/
DFuturesGetCheckedBenchmark.java80 final Class<? extends Exception> exceptionType; field in FuturesGetCheckedBenchmark.ExceptionType
82 ExceptionType(Class<? extends Exception> exceptionType) { in ExceptionType() argument
83 this.exceptionType = exceptionType; in ExceptionType()
104 @Param ExceptionType exceptionType; field in FuturesGetCheckedBenchmark
120 Class<? extends Exception> exceptionType = this.exceptionType.exceptionType; in addOtherEntries() local
135 classValue.get(exceptionType); in addOtherEntries()
145 Class<? extends Exception> exceptionType = this.exceptionType.exceptionType; in benchmarkGetChecked() local
148 tmp += getChecked(validator, future, exceptionType).hashCode(); in benchmarkGetChecked()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/base/
DBaseExceptionHandler.java46 final String exceptionType = getExceptionType(); in getExceptionTypeReference() local
47 if (exceptionType == null) { in getExceptionTypeReference()
53 return exceptionType; in getExceptionTypeReference()
60 String exceptionType = getExceptionType();
61 int hashCode = exceptionType==null?0:exceptionType.hashCode();
78 String exceptionType = getExceptionType();
79 if (exceptionType == null) {
88 res = exceptionType.compareTo(o.getExceptionType());
/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/base/
DBaseExceptionHandler.java45 final String exceptionType = getExceptionType(); in getExceptionTypeReference() local
46 if (exceptionType == null) { in getExceptionTypeReference()
52 return exceptionType; in getExceptionTypeReference()
59 String exceptionType = getExceptionType();
60 int hashCode = exceptionType==null?0:exceptionType.hashCode();
77 String exceptionType = getExceptionType();
78 if (exceptionType == null) {
87 res = exceptionType.compareTo(o.getExceptionType());
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/
DBuilderExceptionHandler.java39 @Nullable final BuilderTypeReference exceptionType; field in BuilderExceptionHandler
42 BuilderExceptionHandler(@Nullable BuilderTypeReference exceptionType, int handlerCodeAddress) { in BuilderExceptionHandler() argument
43 this.exceptionType = exceptionType; in BuilderExceptionHandler()
48 return exceptionType==null?null:exceptionType.getType(); in getExceptionType()
/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/writer/builder/
DBuilderExceptionHandler.java38 @Nullable final BuilderTypeReference exceptionType; field in BuilderExceptionHandler
41 BuilderExceptionHandler(@Nullable BuilderTypeReference exceptionType, int handlerCodeAddress) { in BuilderExceptionHandler() argument
42 this.exceptionType = exceptionType; in BuilderExceptionHandler()
47 return exceptionType==null?null:exceptionType.getType(); in getExceptionType()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/builder/
DBuilderExceptionHandler.java52 static BuilderExceptionHandler newExceptionHandler(@Nullable final TypeReference exceptionType, in newExceptionHandler() argument
54 if (exceptionType == null) { in newExceptionHandler()
59 return exceptionType.getType(); in newExceptionHandler()
67 return exceptionType; in newExceptionHandler()
84 static BuilderExceptionHandler newExceptionHandler(@Nullable final String exceptionType,
86 if (exceptionType == null) {
91 return exceptionType;
DBuilderTryBlock.java50 public BuilderTryBlock(@Nonnull Label start, @Nonnull Label end, @Nullable String exceptionType, in BuilderTryBlock() argument
54 this.exceptionHandler = BuilderExceptionHandler.newExceptionHandler(exceptionType, handler); in BuilderTryBlock()
57 …ic BuilderTryBlock(@Nonnull Label start, @Nonnull Label end, @Nullable TypeReference exceptionType, in BuilderTryBlock() argument
61 this.exceptionHandler = BuilderExceptionHandler.newExceptionHandler(exceptionType, handler); in BuilderTryBlock()
/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/builder/
DBuilderExceptionHandler.java51 static BuilderExceptionHandler newExceptionHandler(@Nullable final TypeReference exceptionType, in newExceptionHandler() argument
53 if (exceptionType == null) { in newExceptionHandler()
58 return exceptionType.getType(); in newExceptionHandler()
66 return exceptionType; in newExceptionHandler()
83 static BuilderExceptionHandler newExceptionHandler(@Nullable final String exceptionType,
85 if (exceptionType == null) {
90 return exceptionType;
DBuilderTryBlock.java49 public BuilderTryBlock(@Nonnull Label start, @Nonnull Label end, @Nullable String exceptionType, in BuilderTryBlock() argument
53 this.exceptionHandler = BuilderExceptionHandler.newExceptionHandler(exceptionType, handler); in BuilderTryBlock()
56 …ic BuilderTryBlock(@Nonnull Label start, @Nonnull Label end, @Nullable TypeReference exceptionType, in BuilderTryBlock() argument
60 this.exceptionHandler = BuilderExceptionHandler.newExceptionHandler(exceptionType, handler); in BuilderTryBlock()
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/
DCatchMethodItem.java39 private final String exceptionType; field in CatchMethodItem
46 … int codeAddress, @Nullable String exceptionType, int startAddress, int endAddress, in CatchMethodItem() argument
49 this.exceptionType = exceptionType; in CatchMethodItem()
57 if (exceptionType == null) { in CatchMethodItem()
83 if (exceptionType == null) { in writeTo()
87 writer.write(exceptionType); in writeTo()
/external/catch2/include/
Dcatch.hpp112 …ine CATCH_REQUIRE_THROWS_AS( expr, exceptionType ) INTERNAL_CATCH_THROWS_AS( "CATCH_REQUIRE_THROWS… argument
115 …IRE_THROWS_MATCHES( expr, exceptionType, matcher ) INTERNAL_CATCH_THROWS_MATCHES( "CATCH_REQUIRE_T… argument
126 …define CATCH_CHECK_THROWS_AS( expr, exceptionType ) INTERNAL_CATCH_THROWS_AS( "CATCH_CHECK_THROWS_… argument
129 …HECK_THROWS_MATCHES( expr, exceptionType, matcher ) INTERNAL_CATCH_THROWS_MATCHES( "CATCH_CHECK_TH… argument
210 #define REQUIRE_THROWS_AS( expr, exceptionType ) INTERNAL_CATCH_THROWS_AS( "REQUIRE_THROWS_AS", exc… argument
213 …EQUIRE_THROWS_MATCHES( expr, exceptionType, matcher ) INTERNAL_CATCH_THROWS_MATCHES( "REQUIRE_THRO… argument
224 #define CHECK_THROWS_AS( expr, exceptionType ) INTERNAL_CATCH_THROWS_AS( "CHECK_THROWS_AS", excepti… argument
227 …e CHECK_THROWS_MATCHES( expr, exceptionType, matcher ) INTERNAL_CATCH_THROWS_MATCHES( "CHECK_THROW… argument
321 #define CATCH_REQUIRE_THROWS_AS( expr, exceptionType ) (void)(0) argument
324 #define CATCH_REQUIRE_THROWS_MATCHES( expr, exceptionType, matcher ) (void)(0) argument
[all …]
/external/google-smali/third_party/baksmali/src/main/java/com/android/tools/smali/baksmali/Adaptors/
DCatchMethodItem.java38 private final String exceptionType; field in CatchMethodItem
45 … int codeAddress, @Nullable String exceptionType, int startAddress, int endAddress, in CatchMethodItem() argument
48 this.exceptionType = exceptionType; in CatchMethodItem()
56 if (exceptionType == null) { in CatchMethodItem()
82 if (exceptionType == null) { in writeTo()
86 writer.write(exceptionType); in writeTo()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/
DImmutableExceptionHandler.java43 @Nullable protected final String exceptionType; field in ImmutableExceptionHandler
46 public ImmutableExceptionHandler(@Nullable String exceptionType, in ImmutableExceptionHandler() argument
48 this.exceptionType = exceptionType; in ImmutableExceptionHandler()
61 @Nullable @Override public String getExceptionType() { return exceptionType; } in getExceptionType()
/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/immutable/
DImmutableExceptionHandler.java42 @Nullable protected final String exceptionType; field in ImmutableExceptionHandler
45 public ImmutableExceptionHandler(@Nullable String exceptionType, in ImmutableExceptionHandler() argument
47 this.exceptionType = exceptionType; in ImmutableExceptionHandler()
60 @Nullable @Override public String getExceptionType() { return exceptionType; } in getExceptionType()
/external/guava/guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/
DGwtFuturesCatchingSpecialization.java34 Class<Throwable> exceptionType, in catching() argument
37 return AbstractCatchingFuture.create(input, exceptionType, fallback, executor); in catching()
42 Class<Throwable> exceptionType, in catchingAsync() argument
45 return AbstractCatchingFuture.create(input, exceptionType, fallback, executor); in catchingAsync()
DGwtFluentFutureCatchingSpecialization.java33 Class<Throwable> exceptionType, in catching() argument
36 return (FluentFuture<V>) Futures.catching(this, exceptionType, fallback, executor); in catching()
40 Class<Throwable> exceptionType, in catchingAsync() argument
43 return (FluentFuture<V>) Futures.catchingAsync(this, exceptionType, fallback, executor); in catchingAsync()
/external/cronet/base/android/javatests/src/org/chromium/base/
DUserDataHostTest.java49 Class<T> key, Class<E> exceptionType) { in getUserDataException() argument
53 if (!exceptionType.isInstance(e)) throw e; in getUserDataException()
58 Class<T> key, T obj, Class<E> exceptionType) { in setUserDataException() argument
62 if (!exceptionType.isInstance(e)) throw e; in setUserDataException()
67 Class<T> key, Class<E> exceptionType) { in removeUserDataException() argument
71 if (!exceptionType.isInstance(e)) throw e; in removeUserDataException()
/external/mockito/src/test/java/org/mockitoutil/
DThrowableAssert.java26 public ThrowableAssert throwsException(Class<? extends Throwable> exceptionType) { in throwsException() argument
27 if(!exceptionType.isInstance(reportedException)) { in throwsException()
29 + exceptionType.getSimpleName() + " but it was: " in throwsException()
/external/smali/smalidea/src/main/java/org/jf/smalidea/dexlib/
DSmalideaExceptionHandler.java51 SmaliClassTypeElement exceptionType = catchStatement.getExceptionType(); in getExceptionType() local
52 if (exceptionType == null) { in getExceptionType()
55 return exceptionType.getText(); in getExceptionType()
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/tracing/
DPropagatedFluentFuture.java53 Class<X> exceptionType, Function<? super X, ? extends V> fallback, Executor executor) { in catching() argument
55 PropagatedFutures.catching(delegate(), exceptionType, fallback, executor)); in catching()
63 Class<X> exceptionType, AsyncFunction<? super X, ? extends V> fallback, Executor executor) { in catchingAsync() argument
65 PropagatedFutures.catchingAsync(delegate(), exceptionType, fallback, executor)); in catchingAsync()
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/analysis/filter/
DKotlinUnsafeCastOperatorFilter.java41 public void match(final String exceptionType, in match() argument
49 nextIsType(Opcodes.NEW, exceptionType); in match()
60 nextIsInvoke(Opcodes.INVOKESPECIAL, exceptionType, "<init>", in match()

1234