Home
last modified time | relevance | path

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

/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/dexmaker/src/dx/java/com/android/dx/dex/code/
DCatchHandlerList.java121 public void set(int n, CstType exceptionType, int handler) { in set() argument
122 set0(n, new Entry(exceptionType, handler)); in set()
169 private final CstType exceptionType; field in CatchHandlerList.Entry
180 public Entry(CstType exceptionType, int handler) { in Entry() argument
185 if (exceptionType == null) { in Entry()
190 this.exceptionType = exceptionType; in Entry()
196 return (handler * 31) + exceptionType.hashCode(); in hashCode()
217 return exceptionType.compareTo(other.exceptionType); in compareTo()
226 return exceptionType; in getExceptionType()
/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/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/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/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/libcxxabi/src/
Dcxa_exception.hpp39 std::type_info *exceptionType; member
77 std::type_info *exceptionType; member
Dcxa_exception.cpp230 exception_header->exceptionType = tinfo; in __cxa_throw()
533 return exception_header->exceptionType; in __cxa_current_exception_type()
695 dep_exception_header->exceptionType = exception_header->exceptionType; in __cxa_rethrow_primary_exception()
Dcxa_default_handlers.cpp48 static_cast<const __shim_type_info*>(exception_header->exceptionType); in default_terminate_handler()
Dcxa_personality.cpp734 static_cast<const __shim_type_info*>(exception_header->exceptionType); in scan_eh_tab()
776 static_cast<const __shim_type_info*>(exception_header->exceptionType); in scan_eh_tab()
1243 static_cast<const __shim_type_info*>(new_exception_header->exceptionType); in __cxa_call_unexpected()
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
DThrowingProviderBinder.java352 for (Class<? extends Throwable> exceptionType : exceptionTypes) { in createResultProvider()
353 if (exceptionType.isInstance(e)) { in createResultProvider()
449 Type exceptionType = genericThrowingProvider.getActualTypeArguments()[1];
450 if(!checkArgument(exceptionType instanceof Class,
452 interfaceType, exceptionType)) {
/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/javassist/src/main/javassist/
DCtBehavior.java984 public void addCatch(String src, CtClass exceptionType) in addCatch() argument
987 addCatch(src, exceptionType, "$e"); in addCatch()
1002 public void addCatch(String src, CtClass exceptionType, in addCatch() argument
1017 int var = jv.recordVariable(exceptionType, exceptionName); in addCatch()
1033 cp.addClassInfo(exceptionType)); in addCatch()
/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/javassist/src/main/javassist/bytecode/stackmap/
DMapMaker.java254 private void recordStackMap(TypedBlock target, int exceptionType) in recordStackMap() argument
258 if (exceptionType == 0) in recordStackMap()
261 type = cpool.getClassInfo(exceptionType); in recordStackMap()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DMethodAnalyzer.java1101 RegisterType exceptionType = RegisterType.UNKNOWN_TYPE;
1109 exceptionType = RegisterType.getRegisterType(RegisterType.REFERENCE,
1112exceptionType = RegisterType.getRegisterType(RegisterType.REFERENCE, classPath.getClass(type))
1113 .merge(exceptionType);
1119 if (exceptionType.category == RegisterType.UNKNOWN) {
1123 setDestinationRegisterTypeAndPropagateChanges(analyzedInstruction, exceptionType);
/external/llvm/examples/ExceptionDemo/
DExceptionDemo.cpp1427 llvm::Value *exceptionType = namedValues["exceptTypeToThrow"]; in createThrowExceptionFunction() local
1434 builder.CreateCall(&nativeThrowFunct, exceptionType); in createThrowExceptionFunction()
1446 *exceptionType, in createThrowExceptionFunction()
1455 llvm::SwitchInst *theSwitch = builder.CreateSwitch(exceptionType, in createThrowExceptionFunction()
/external/clang/lib/AST/
DType.cpp849 for (auto exceptionType : info.ExceptionSpec.Exceptions) { in VisitFunctionProtoType() local
850 QualType newExceptionType = recurse(exceptionType); in VisitFunctionProtoType()
855 != exceptionType.getAsOpaquePtr()) in VisitFunctionProtoType()
1165 for (auto exceptionType : info.ExceptionSpec.Exceptions) { in substObjCTypeArgs() local
1166 QualType newExceptionType = exceptionType.substObjCTypeArgs( in substObjCTypeArgs()
1174 != exceptionType.getAsOpaquePtr()) in substObjCTypeArgs()