Home
last modified time | relevance | path

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

1234

/external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/
DExceptionRecorder.java24 private Class<?> exceptionType; field in ExceptionRecorder
29 assertNull("multiple exeptions", exceptionType); in logExeption()
30 exceptionType = ex.getClass(); in logExeption()
36 exceptionType = null; in clear()
42 assertNull(exceptionType); in assertNoException()
45 public void assertException(final Class<? extends Throwable> exceptionType, in assertException() argument
47 assertEquals(exceptionType, this.exceptionType); in assertException()
51 public void assertException(final Class<? extends Throwable> exceptionType, in assertException() argument
53 assertEquals(exceptionType, this.exceptionType); in assertException()
/external/guava/android/guava/src/com/google/common/util/concurrent/
DAbstractCatchingFuture.java37 Class<X> exceptionType, in create() argument
40 CatchingFuture<V, X> future = new CatchingFuture<>(input, exceptionType, fallback); in create()
47 Class<X> exceptionType, in create() argument
50 AsyncCatchingFuture<V, X> future = new AsyncCatchingFuture<>(input, exceptionType, fallback); in create()
60 @NullableDecl Class<X> exceptionType; field in AbstractCatchingFuture
64 ListenableFuture<? extends V> inputFuture, Class<X> exceptionType, F fallback) { in AbstractCatchingFuture() argument
66 this.exceptionType = checkNotNull(exceptionType); in AbstractCatchingFuture()
73 Class<X> localExceptionType = exceptionType; in run()
129 exceptionType = null; in run()
139 Class<X> localExceptionType = exceptionType; in pendingToString()
[all …]
DFluentFuture.java183 Class<X> exceptionType, Function<? super X, ? extends V> fallback, Executor executor) { in catching() argument
184 return (FluentFuture<V>) Futures.catching(this, exceptionType, fallback, executor); in catching()
247 Class<X> exceptionType, AsyncFunction<? super X, ? extends V> fallback, Executor executor) { in catchingAsync() argument
248 return (FluentFuture<V>) Futures.catchingAsync(this, exceptionType, fallback, executor); in catchingAsync()
/external/guava/guava/src/com/google/common/util/concurrent/
DAbstractCatchingFuture.java37 Class<X> exceptionType, in create() argument
40 CatchingFuture<V, X> future = new CatchingFuture<>(input, exceptionType, fallback); in create()
47 Class<X> exceptionType, in create() argument
50 AsyncCatchingFuture<V, X> future = new AsyncCatchingFuture<>(input, exceptionType, fallback); in create()
60 @Nullable Class<X> exceptionType; field in AbstractCatchingFuture
64 ListenableFuture<? extends V> inputFuture, Class<X> exceptionType, F fallback) { in AbstractCatchingFuture() argument
66 this.exceptionType = checkNotNull(exceptionType); in AbstractCatchingFuture()
73 Class<X> localExceptionType = exceptionType; in run()
129 exceptionType = null; in run()
139 Class<X> localExceptionType = exceptionType; in pendingToString()
[all …]
DFluentFuture.java185 Class<X> exceptionType, Function<? super X, ? extends V> fallback, Executor executor) { in catching() argument
186 return (FluentFuture<V>) Futures.catching(this, exceptionType, fallback, executor); in catching()
249 Class<X> exceptionType, AsyncFunction<? super X, ? extends V> fallback, Executor executor) { in catchingAsync() argument
250 return (FluentFuture<V>) Futures.catchingAsync(this, exceptionType, fallback, executor); in catchingAsync()
/external/guava/android/guava-tests/benchmark/com/google/common/util/concurrent/
DFuturesGetCheckedBenchmark.java79 final Class<? extends Exception> exceptionType; field in FuturesGetCheckedBenchmark.ExceptionType
81 ExceptionType(Class<? extends Exception> exceptionType) { in ExceptionType() argument
82 this.exceptionType = exceptionType; in ExceptionType()
103 @Param ExceptionType exceptionType; field in FuturesGetCheckedBenchmark
119 Class<? extends Exception> exceptionType = this.exceptionType.exceptionType; in addOtherEntries() local
134 classValue.get(exceptionType); in addOtherEntries()
144 Class<? extends Exception> exceptionType = this.exceptionType.exceptionType; in benchmarkGetChecked() local
147 tmp += getChecked(validator, future, exceptionType).hashCode(); in benchmarkGetChecked()
/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/
DFuturesGetCheckedBenchmark.java79 final Class<? extends Exception> exceptionType; field in FuturesGetCheckedBenchmark.ExceptionType
81 ExceptionType(Class<? extends Exception> exceptionType) { in ExceptionType() argument
82 this.exceptionType = exceptionType; in ExceptionType()
103 @Param ExceptionType exceptionType; field in FuturesGetCheckedBenchmark
119 Class<? extends Exception> exceptionType = this.exceptionType.exceptionType; in addOtherEntries() local
134 classValue.get(exceptionType); in addOtherEntries()
144 Class<? extends Exception> exceptionType = this.exceptionType.exceptionType; in benchmarkGetChecked() local
147 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/guava/guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/
DGwtFuturesCatchingSpecialization.java38 Class<Throwable> exceptionType, in catching() argument
40 return AbstractCatchingFuture.create(input, exceptionType, fallback, directExecutor()); in catching()
45 Class<Throwable> exceptionType, in catching() argument
48 return AbstractCatchingFuture.create(input, exceptionType, fallback, executor); in catching()
55 Class<Throwable> exceptionType, in catchingAsync() argument
57 return AbstractCatchingFuture.create(input, exceptionType, fallback, directExecutor()); in catchingAsync()
62 Class<Throwable> exceptionType, in catchingAsync() argument
65 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/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/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/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
/external/llvm-project/libcxxabi/src/
Dcxa_exception.h45 std::type_info *exceptionType; member
83 std::type_info *exceptionType; member

1234