Home
last modified time | relevance | path

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

123

/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 …]
DFluentFuture.java190 Class<X> exceptionType, Function<? super X, ? extends V> fallback, Executor executor) { in catching() argument
191 return (FluentFuture<V>) Futures.catching(this, exceptionType, fallback, executor); in catching()
254 Class<X> exceptionType, AsyncFunction<? super X, ? extends V> fallback, Executor executor) { in catchingAsync() argument
255 return (FluentFuture<V>) Futures.catchingAsync(this, exceptionType, fallback, executor); in catchingAsync()
/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 …]
DFluentFuture.java188 Class<X> exceptionType, Function<? super X, ? extends V> fallback, Executor executor) { in catching() argument
189 return (FluentFuture<V>) Futures.catching(this, exceptionType, fallback, executor); in catching()
252 Class<X> exceptionType, AsyncFunction<? super X, ? extends V> fallback, Executor executor) { in catchingAsync() argument
253 return (FluentFuture<V>) Futures.catchingAsync(this, exceptionType, fallback, executor); in catchingAsync()
/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/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/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/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/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/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/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/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/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/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()
/external/catch2/include/internal/
Dcatch_capture.hpp70 #define INTERNAL_CATCH_THROWS_AS( macroName, exceptionType, resultDisposition, expr ) argument
106 #define INTERNAL_CATCH_THROWS_AS( macroName, exceptionType, resultDisposition, expr ) \ argument
108 …INEINFO, CATCH_INTERNAL_STRINGIFY(expr) ", " CATCH_INTERNAL_STRINGIFY(exceptionType), resultDispos…
114 catch( exceptionType const& ) { \
Dcatch_capture_matchers.h69 #define INTERNAL_CATCH_THROWS_MATCHES( macroName, exceptionType, resultDisposition, matcher, ... ) \ argument
71 …, CATCH_INTERNAL_STRINGIFY(__VA_ARGS__) ", " CATCH_INTERNAL_STRINGIFY(exceptionType) ", " CATCH_IN…
77 catch( exceptionType const& ex ) { \
/external/OpenCSD/decoder/source/etmv4/
Dtrc_pkt_elem_etmv4i.cpp722 if(exception_info.exceptionType < 0x10) in exceptionInfo()
723 oss << " " << ARv8Excep[exception_info.exceptionType] << ";"; in exceptionInfo()
730 if(exception_info.exceptionType < 0x20) in exceptionInfo()
731 oss << " " << MExcep[exception_info.exceptionType] << ";"; in exceptionInfo()
732 else if((exception_info.exceptionType >= 0x208) && (exception_info.exceptionType <= 0x3EF)) in exceptionInfo()
733 oss << " IRQ" << (int)(exception_info.exceptionType - 0x200) << ";"; in exceptionInfo()
/external/doclava/src/com/google/doclava/
DThrowsTagInfo.java63 public TypeInfo exceptionType() { in exceptionType() method in ThrowsTagInfo
74 if (tags[i].exceptionType() != null) { in makeHDF()
75 tags[i].exceptionType().makeHDF(data, base + "." + i + ".type"); in makeHDF()
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
DProviderChecker.java70 Type exceptionType = genericThrowingProvider.getActualTypeArguments()[1]; in checkInterface() local
72 exceptionType instanceof Class, in checkInterface()
75 exceptionType); in checkInterface()
/external/libcxxabi/src/
Dcxa_exception.hpp41 std::type_info *exceptionType; member
78 std::type_info *exceptionType; member

123