Home
last modified time | relevance | path

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

12

/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/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/catch2/include/
Dcatch.hpp107 …ine CATCH_REQUIRE_THROWS_AS( expr, exceptionType ) INTERNAL_CATCH_THROWS_AS( "CATCH_REQUIRE_THROWS… argument
110 …IRE_THROWS_MATCHES( expr, exceptionType, matcher ) INTERNAL_CATCH_THROWS_MATCHES( "CATCH_REQUIRE_T… argument
121 …define CATCH_CHECK_THROWS_AS( expr, exceptionType ) INTERNAL_CATCH_THROWS_AS( "CATCH_CHECK_THROWS_… argument
124 …HECK_THROWS_MATCHES( expr, exceptionType, matcher ) INTERNAL_CATCH_THROWS_MATCHES( "CATCH_CHECK_TH… argument
189 #define REQUIRE_THROWS_AS( expr, exceptionType ) INTERNAL_CATCH_THROWS_AS( "REQUIRE_THROWS_AS", exc… argument
192 …EQUIRE_THROWS_MATCHES( expr, exceptionType, matcher ) INTERNAL_CATCH_THROWS_MATCHES( "REQUIRE_THRO… argument
203 #define CHECK_THROWS_AS( expr, exceptionType ) INTERNAL_CATCH_THROWS_AS( "CHECK_THROWS_AS", excepti… argument
206 …e CHECK_THROWS_MATCHES( expr, exceptionType, matcher ) INTERNAL_CATCH_THROWS_MATCHES( "CHECK_THROW… argument
281 #define CATCH_REQUIRE_THROWS_AS( expr, exceptionType ) (void)(0) argument
284 #define CATCH_REQUIRE_THROWS_MATCHES( expr, exceptionType, matcher ) (void)(0) argument
[all …]
/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/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.hpp68 #define INTERNAL_CATCH_THROWS_AS( macroName, exceptionType, resultDisposition, expr ) argument
104 #define INTERNAL_CATCH_THROWS_AS( macroName, exceptionType, resultDisposition, expr ) \ argument
106 …INEINFO, CATCH_INTERNAL_STRINGIFY(expr) ", " CATCH_INTERNAL_STRINGIFY(exceptionType), resultDispos…
112 catch( exceptionType const& ) { \
Dcatch_capture_matchers.h68 #define INTERNAL_CATCH_THROWS_MATCHES( macroName, exceptionType, resultDisposition, matcher, ... ) \ argument
70 …, CATCH_INTERNAL_STRINGIFY(__VA_ARGS__) ", " CATCH_INTERNAL_STRINGIFY(exceptionType) ", " CATCH_IN…
76 catch( exceptionType const& ex ) { \
/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()
DCheckedProviders.java227 for (Class<? extends Throwable> exceptionType : exceptionTypes) { in checkThrowable()
228 if (exceptionType.isAssignableFrom(thrownType)) { in checkThrowable()
DThrowingProviderBinder.java354 for (Class<? extends Throwable> exceptionType : exceptionTypes) { in createResultProvider()
355 if (exceptionType.isInstance(e)) { in createResultProvider()
/external/libcxxabi/src/
Dcxa_exception.hpp41 std::type_info *exceptionType; member
78 std::type_info *exceptionType; member
Dcxa_exception.cpp265 exception_header->exceptionType = tinfo; in __cxa_throw()
570 return exception_header->exceptionType; in __cxa_current_exception_type()
725 dep_exception_header->exceptionType = exception_header->exceptionType; in __cxa_rethrow_primary_exception()
Dcxa_default_handlers.cpp47 static_cast<const __shim_type_info*>(exception_header->exceptionType); in demangling_terminate_handler()
Dcxa_personality.cpp753 static_cast<const __shim_type_info*>(exception_header->exceptionType); in scan_eh_tab()
795 static_cast<const __shim_type_info*>(exception_header->exceptionType); in scan_eh_tab()
1272 static_cast<const __shim_type_info*>(new_exception_header->exceptionType); in __cxa_call_unexpected()
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DRobolectricGeneratorAdapter.java82 public TryCatch tryStart(Type exceptionType) { in tryStart() argument
83 return new TryCatch(this, exceptionType); in tryStart()
/external/slf4j/slf4j-jdk14/src/test/java/org/slf4j/
DInvocationTest.java172 private void assertException(Class<? extends Throwable> exceptionType, int index) { in assertException() argument
175 assertEquals(exceptionType, logRecord.getThrown().getClass()); in assertException()
/external/smali/smalidea/src/test/java/org/jf/smalidea/
DSmaliClassTest.java136 …PsiClassType exceptionType = factory.createTypeByFQClassName("java.lang.Exception", file.getResolv… in testIsInheritor() local
137 PsiClass exceptionClass = exceptionType.resolve(); in testIsInheritor()
/external/guava/guava/src/com/google/common/reflect/
DInvokable.java134 TypeToken<? extends Throwable> exceptionType = (TypeToken<? extends Throwable>) in getExceptionTypes() local
136 builder.add(exceptionType); in getExceptionTypes()
/external/honggfuzz/mac/
Darch.c72 exceptionType:(exception_type_t)anExceptionType
519 exceptionType:exception in write_crash_report()
545 exceptionType:exception in hash_callstack()

12