Home
last modified time | relevance | path

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

12345678910>>...44

/dports/java/eclipse-ecj/eclipse-ecj-4.4.2_1/org/eclipse/jdt/internal/compiler/ast/
H A DUnionTypeReference.java58 if (exceptionType == null) { in resolveType()
61 switch(exceptionType.kind()) { in resolveType()
63 if (exceptionType.isBoundParameterizedType()) { in resolveType()
75 if (exceptionType.findSuperTypeOriginatingFrom(TypeIds.T_JavaLangThrowable, true) == null in resolveType()
76 && exceptionType.isValidBinding()) { in resolveType()
77 scope.problemReporter().cannotThrowType(this.typeReferences[i], exceptionType); in resolveType()
80 allExceptionTypes[i] = exceptionType; in resolveType()
83 if (allExceptionTypes[j].isCompatibleWith(exceptionType)) { in resolveType()
87 exceptionType); in resolveType()
89 } else if (exceptionType.isCompatibleWith(allExceptionTypes[j])) { in resolveType()
[all …]
H A DThrowStatement.java30 public TypeBinding exceptionType; field in ThrowStatement
42 flowContext.checkExceptionHandlers(this.exceptionType, this, flowInfo, currentScope); in analyseCode()
70 this.exceptionType = this.exception.resolveType(scope); in resolve()
71 recordExceptionsForEnclosingLambda(scope, this.exceptionType); in resolve()
72 if (this.exceptionType != null && this.exceptionType.isValidBinding()) { in resolve()
73 if (this.exceptionType == TypeBinding.NULL) { in resolve()
78 …} else if (this.exceptionType.findSuperTypeOriginatingFrom(TypeIds.T_JavaLangThrowable, true) == n… in resolve()
79 scope.problemReporter().cannotThrowType(this.exception, this.exceptionType); in resolve()
81 this.exception.computeConversion(scope, this.exceptionType, this.exceptionType); in resolve()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.core/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/
H A DUnionTypeReference.java58 if (exceptionType == null) { in resolveType()
61 switch(exceptionType.kind()) { in resolveType()
63 if (exceptionType.isBoundParameterizedType()) { in resolveType()
75 if (exceptionType.findSuperTypeOriginatingFrom(TypeIds.T_JavaLangThrowable, true) == null in resolveType()
76 && exceptionType.isValidBinding()) { in resolveType()
77 scope.problemReporter().cannotThrowType(this.typeReferences[i], exceptionType); in resolveType()
80 allExceptionTypes[i] = exceptionType; in resolveType()
83 if (allExceptionTypes[j].isCompatibleWith(exceptionType)) { in resolveType()
87 exceptionType); in resolveType()
89 } else if (exceptionType.isCompatibleWith(allExceptionTypes[j])) { in resolveType()
[all …]
H A DThrowStatement.java33 public TypeBinding exceptionType; field in ThrowStatement
46 flowContext.checkExceptionHandlers(this.exceptionType, this, flowInfo, currentScope); in analyseCode()
77 this.exceptionType = this.exception.resolveType(scope); in resolve()
78 if (this.exceptionType != null && this.exceptionType.isValidBinding()) { in resolve()
79 if (this.exceptionType == TypeBinding.NULL) { in resolve()
84 …} else if (this.exceptionType.findSuperTypeOriginatingFrom(TypeIds.T_JavaLangThrowable, true) == n… in resolve()
85 scope.problemReporter().cannotThrowType(this.exception, this.exceptionType); in resolve()
87 this.exception.computeConversion(scope, this.exceptionType, this.exceptionType); in resolve()
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/lib/go/thrift/
H A Dapplication_exception.go40 exceptionType int32 member
50 func NewApplicationException(exceptionType int32, message string) ApplicationException {
51 return &applicationException{message: message, exceptionType: exceptionType}
55 func NewApplicationExceptionCause(exceptionType int32, message string, cause error) ApplicationExce…
56 return &applicationException{message, exceptionType, cause}
61 return e.exceptionType
77 exceptionType := int32(UNKNOWN_APPLICATION_EXCEPTION)
100 if exceptionType, err = iprot.ReadI32(); err != nil {
117 return NewApplicationException(exceptionType, message), iprot.ReadStructEnd()
141 err = oprot.WriteI32(e.exceptionType)
/dports/net-im/biboumi/biboumi-9.0/external/src/catch/include/
H A Dcatch.hpp102 …ine CATCH_REQUIRE_THROWS_AS( expr, exceptionType ) INTERNAL_CATCH_THROWS_AS( "CATCH_REQUIRE_THROWS… argument
116 …define CATCH_CHECK_THROWS_AS( expr, exceptionType ) INTERNAL_CATCH_THROWS_AS( "CATCH_CHECK_THROWS_… argument
160 #define REQUIRE_THROWS_AS( expr, exceptionType ) INTERNAL_CATCH_THROWS_AS( "REQUIRE_THROWS_AS", exc… argument
163 …EQUIRE_THROWS_MATCHES( expr, exceptionType, matcher ) INTERNAL_CATCH_THROWS_MATCHES( "REQUIRE_THRO… argument
174 #define CHECK_THROWS_AS( expr, exceptionType ) INTERNAL_CATCH_THROWS_AS( "CHECK_THROWS_AS", excepti… argument
227 #define CATCH_REQUIRE_THROWS_AS( expr, exceptionType ) (void)(0) argument
241 #define CATCH_CHECK_THROWS_AS( expr, exceptionType ) (void)(0) argument
285 #define REQUIRE_THROWS_AS( expr, exceptionType ) (void)(0) argument
288 #define REQUIRE_THROWS_MATCHES( expr, exceptionType, matcher ) (void)(0) argument
299 #define CHECK_THROWS_AS( expr, exceptionType ) (void)(0) argument
[all …]
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.web/src/main/java/org/springframework/web/method/annotation/
H A DExceptionHandlerMethodResolver.java70 for (Class<? extends Throwable> exceptionType : detectMappedExceptions(method)) { in init()
71 addExceptionMapping(exceptionType, method); in init()
100 Method oldMethod = this.mappedMethods.put(exceptionType, method); in addExceptionMapping()
103 "Ambiguous @ExceptionHandler method mapped for [" + exceptionType + "]: {" + in addExceptionMapping()
115 Class<? extends Exception> exceptionType = exception.getClass(); in resolveMethod() local
116 Method method = this.exceptionLookupCache.get(exceptionType); in resolveMethod()
118 method = getMappedMethod(exceptionType); in resolveMethod()
119 this.exceptionLookupCache.put(exceptionType, method != null ? method : NO_METHOD_FOUND); in resolveMethod()
127 private Method getMappedMethod(Class<? extends Exception> exceptionType) { in getMappedMethod() argument
130 if (mappedException.isAssignableFrom(exceptionType)) { in getMappedMethod()
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.core/org.eclipse.jdt.core.tests.model/workspace/Compiler/src/org/eclipse/jdt/internal/compiler/ast/
H A DArgument.java91 TypeBinding exceptionType = this.type.resolveType(scope); in resolveForCatch() local
92 if (exceptionType == null) return null; in resolveForCatch()
93 if (exceptionType.isGenericType() || exceptionType.isParameterizedType()) { in resolveForCatch()
94 scope.problemReporter().invalidParameterizedExceptionType(exceptionType, this); in resolveForCatch()
97 if (exceptionType.isTypeVariable()) { in resolveForCatch()
98 scope.problemReporter().invalidTypeVariableAsException(exceptionType, this); in resolveForCatch()
102 if (!exceptionType.isCompatibleWith(throwable)) { in resolveForCatch()
103 scope.problemReporter().typeMismatchError(exceptionType, throwable, this); in resolveForCatch()
116 …binding = new LocalVariableBinding(this, exceptionType, modifiers, false); // argument decl, but l… in resolveForCatch()
119 return exceptionType; in resolveForCatch()
/dports/java/eclipse-ecj/eclipse-ecj-4.4.2_1/org/eclipse/jdt/internal/compiler/codegen/
H A DExceptionLabel.java24 public TypeBinding exceptionType; field in ExceptionLabel
28 public ExceptionLabel(CodeStream codeStream, TypeBinding exceptionType, TypeReference exceptionType… in ExceptionLabel() argument
30 this.exceptionType = exceptionType; in ExceptionLabel()
35 public ExceptionLabel(CodeStream codeStream, TypeBinding exceptionType) { in ExceptionLabel() argument
37 this.exceptionType = exceptionType; in ExceptionLabel()
77 …buffer.append("(type=").append(this.exceptionType == null ? CharOperation.NO_CHAR : this.exception… in toString()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.core/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/
H A DExceptionLabel.java27 public TypeBinding exceptionType; field in ExceptionLabel
31 public ExceptionLabel(CodeStream codeStream, TypeBinding exceptionType, TypeReference exceptionType… in ExceptionLabel() argument
33 this.exceptionType = exceptionType; in ExceptionLabel()
38 public ExceptionLabel(CodeStream codeStream, TypeBinding exceptionType) { in ExceptionLabel() argument
40 this.exceptionType = exceptionType; in ExceptionLabel()
82 …buffer.append("(type=").append(this.exceptionType == null ? CharOperation.NO_CHAR : this.exception… in toString()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/jdk/java/awt/print/PrinterJob/
H A DExceptionFromPrintableIsIgnoredTest.java62 final TestExceptionType exceptionType) { in ExceptionFromPrintableIsIgnoredTest() argument
65 threadType, exceptionType)); in ExceptionFromPrintableIsIgnoredTest()
69 if ((exceptionType == TestExceptionType.RE) && !isOSX) { in ExceptionFromPrintableIsIgnoredTest()
78 runTest(exceptionType); in ExceptionFromPrintableIsIgnoredTest()
84 runTest(exceptionType); in ExceptionFromPrintableIsIgnoredTest()
100 private void runTest(final TestExceptionType exceptionType) { in runTest() argument
114 if (exceptionType == TestExceptionType.PE) { in runTest()
117 } else if (exceptionType == TestExceptionType.RE) { in runTest()
/dports/comms/java-simple-serial-connector/java-simple-serial-connector-2.8.0/src/java/jssc/
H A DSerialPortException.java66 private String exceptionType; field in SerialPortException
68 public SerialPortException(String portName, String methodName, String exceptionType){ in SerialPortException() argument
69 …me - " + portName + "; Method name - " + methodName + "; Exception type - " + exceptionType + "."); in SerialPortException()
72 this.exceptionType = exceptionType; in SerialPortException()
93 return exceptionType; in getExceptionType()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Private.Xml/tests/XmlConvert/
H A DVerifyNameTests4.cs123 var exceptionType = (Type)CurVariation.Params[1]; in VerifyPublicId()
132 … return (exceptionType != null && e.GetType().Name == exceptionType.Name) ? TEST_PASS : TEST_FAIL; in VerifyPublicId()
138 … return (exceptionType != null && e.GetType().Name == exceptionType.Name) ? TEST_PASS : TEST_FAIL; in VerifyPublicId()
140 return exceptionType == null ? TEST_PASS : TEST_FAIL; in VerifyPublicId()
149 var exceptionType = (Type)CurVariation.Params[1]; in VerifyWhitespace()
158 … return (exceptionType != null && e.GetType().Name == exceptionType.Name) ? TEST_PASS : TEST_FAIL; in VerifyWhitespace()
164 … return (exceptionType != null && e.GetType().Name == exceptionType.Name) ? TEST_PASS : TEST_FAIL; in VerifyWhitespace()
166 return exceptionType == null ? TEST_PASS : TEST_FAIL; in VerifyWhitespace()
172 var exceptionType = (Type)CurVariation.Params[1]; in VerifyXmlCharsTests()
229 … return (exceptionType != null && e.GetType().Name == exceptionType.Name) ? TEST_PASS : TEST_FAIL; in VerifyXmlCharsTests()
[all …]
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/
H A DExceptionType.java45 ExceptionType(int exceptionType){ in ExceptionType() argument
46 this.exceptionType = exceptionType; in ExceptionType()
50 return exceptionType; in value()
52 private final int exceptionType; field in ExceptionType
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/model/
H A DExceptionType.java45 ExceptionType(int exceptionType){ in ExceptionType() argument
46 this.exceptionType = exceptionType; in ExceptionType()
50 return exceptionType; in value()
52 private final int exceptionType; field in ExceptionType
/dports/www/orangehrm/orangehrm-4.9/symfony/lib/vendor/google/apiclient-services/src/Google/Service/ServiceManagement/
H A DFlowErrorDetails.php20 public $exceptionType; variable in Google_Service_ServiceManagement_FlowErrorDetails
23 public function setExceptionType($exceptionType) argument
25 $this->exceptionType = $exceptionType;
29 return $this->exceptionType;
/dports/www/owncloud/owncloud/apps/files_external/3rdparty/google/apiclient-services/src/Google/Service/ServiceManagement/
H A DFlowErrorDetails.php20 public $exceptionType; variable in Google_Service_ServiceManagement_FlowErrorDetails
23 public function setExceptionType($exceptionType) argument
25 $this->exceptionType = $exceptionType;
29 return $this->exceptionType;
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Globalization.Extensions/tests/IdnMapping/
H A DIdnMappingGetUnicodeTests.cs97 public void GetUnicode_Invalid(string ascii, int index, int count, Type exceptionType) in GetUnicode_Invalid() argument
99 …nicode_Invalid(new IdnMapping() { UseStd3AsciiRules = false }, ascii, index, count, exceptionType); in GetUnicode_Invalid()
100 …Unicode_Invalid(new IdnMapping() { UseStd3AsciiRules = true }, ascii, index, count, exceptionType); in GetUnicode_Invalid()
103 …d GetUnicode_Invalid(IdnMapping idnMapping, string ascii, int index, int count, Type exceptionType) in GetUnicode_Invalid() argument
109 Assert.Throws(exceptionType, () => idnMapping.GetUnicode(ascii)); in GetUnicode_Invalid()
111 Assert.Throws(exceptionType, () => idnMapping.GetUnicode(ascii, index)); in GetUnicode_Invalid()
113 Assert.Throws(exceptionType, () => idnMapping.GetUnicode(ascii, index, count)); in GetUnicode_Invalid()
/dports/lang/mono/mono-5.10.1.57/external/corert/src/Common/src/TypeSystem/IL/Stubs/
H A DTypeSystemThrowingILEmitter.cs26 Type exceptionType = exception.GetType(); in EmitIL()
27 if (exceptionType == typeof(TypeSystemException.TypeLoadException)) in EmitIL()
40 else if (exceptionType == typeof(TypeSystemException.MissingFieldException)) in EmitIL()
44 else if (exceptionType == typeof(TypeSystemException.MissingMethodException)) in EmitIL()
48 else if (exceptionType == typeof(TypeSystemException.FileNotFoundException)) in EmitIL()
52 else if (exceptionType == typeof(TypeSystemException.InvalidProgramException)) in EmitIL()
66 else if (exceptionType == typeof(TypeSystemException.BadImageFormatException)) in EmitIL()
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jaxp/src/com/sun/org/apache/xml/internal/resolver/
H A DCatalogException.java60 private int exceptionType = 0; field in CatalogException
70 this.exceptionType = type; in CatalogException()
81 this.exceptionType = type; in CatalogException()
96 this.exceptionType = WRAPPER; in CatalogException()
111 this.exceptionType = WRAPPER; in CatalogException()
152 return exceptionType; in getExceptionType()
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jaxp/src/com/sun/org/apache/xml/internal/resolver/
H A DCatalogException.java60 private int exceptionType = 0; field in CatalogException
70 this.exceptionType = type; in CatalogException()
81 this.exceptionType = type; in CatalogException()
96 this.exceptionType = WRAPPER; in CatalogException()
111 this.exceptionType = WRAPPER; in CatalogException()
152 return exceptionType; in getExceptionType()
/dports/math/e-antic/e-antic-1.0.0-rc.13/libeantic/test/external/catch2/include/
H A Dcatch.hpp112 …ine CATCH_REQUIRE_THROWS_AS( expr, exceptionType ) INTERNAL_CATCH_THROWS_AS( "CATCH_REQUIRE_THROWS… argument
126 …define CATCH_CHECK_THROWS_AS( expr, exceptionType ) INTERNAL_CATCH_THROWS_AS( "CATCH_CHECK_THROWS_… 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
321 #define CATCH_REQUIRE_THROWS_AS( expr, exceptionType ) (void)(0) argument
335 #define CATCH_CHECK_THROWS_AS( expr, exceptionType ) (void)(0) argument
405 #define REQUIRE_THROWS_AS( expr, exceptionType ) (void)(0) argument
408 #define REQUIRE_THROWS_MATCHES( expr, exceptionType, matcher ) (void)(0) argument
419 #define CHECK_THROWS_AS( expr, exceptionType ) (void)(0) argument
[all …]
/dports/math/e-antic/Catch2-ff349a5/include/
H A Dcatch.hpp112 …ine CATCH_REQUIRE_THROWS_AS( expr, exceptionType ) INTERNAL_CATCH_THROWS_AS( "CATCH_REQUIRE_THROWS… argument
126 …define CATCH_CHECK_THROWS_AS( expr, exceptionType ) INTERNAL_CATCH_THROWS_AS( "CATCH_CHECK_THROWS_… 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
321 #define CATCH_REQUIRE_THROWS_AS( expr, exceptionType ) (void)(0) argument
335 #define CATCH_CHECK_THROWS_AS( expr, exceptionType ) (void)(0) argument
405 #define REQUIRE_THROWS_AS( expr, exceptionType ) (void)(0) argument
408 #define REQUIRE_THROWS_MATCHES( expr, exceptionType, matcher ) (void)(0) argument
419 #define CHECK_THROWS_AS( expr, exceptionType ) (void)(0) argument
[all …]
/dports/www/restbed/restbed-4.8/dependency/catch/include/
H A Dcatch.hpp112 …ine CATCH_REQUIRE_THROWS_AS( expr, exceptionType ) INTERNAL_CATCH_THROWS_AS( "CATCH_REQUIRE_THROWS… argument
126 …define CATCH_CHECK_THROWS_AS( expr, exceptionType ) INTERNAL_CATCH_THROWS_AS( "CATCH_CHECK_THROWS_… 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
321 #define CATCH_REQUIRE_THROWS_AS( expr, exceptionType ) (void)(0) argument
335 #define CATCH_CHECK_THROWS_AS( expr, exceptionType ) (void)(0) argument
405 #define REQUIRE_THROWS_AS( expr, exceptionType ) (void)(0) argument
408 #define REQUIRE_THROWS_MATCHES( expr, exceptionType, matcher ) (void)(0) argument
419 #define CHECK_THROWS_AS( expr, exceptionType ) (void)(0) argument
[all …]
/dports/emulators/citra/citra-ac98458e0/externals/catch/include/
H A Dcatch.hpp112 …ine CATCH_REQUIRE_THROWS_AS( expr, exceptionType ) INTERNAL_CATCH_THROWS_AS( "CATCH_REQUIRE_THROWS… argument
126 …define CATCH_CHECK_THROWS_AS( expr, exceptionType ) INTERNAL_CATCH_THROWS_AS( "CATCH_CHECK_THROWS_… 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
321 #define CATCH_REQUIRE_THROWS_AS( expr, exceptionType ) (void)(0) argument
335 #define CATCH_CHECK_THROWS_AS( expr, exceptionType ) (void)(0) argument
405 #define REQUIRE_THROWS_AS( expr, exceptionType ) (void)(0) argument
408 #define REQUIRE_THROWS_MATCHES( expr, exceptionType, matcher ) (void)(0) argument
419 #define CHECK_THROWS_AS( expr, exceptionType ) (void)(0) argument
[all …]

12345678910>>...44