Home
last modified time | relevance | path

Searched refs:getErrorCode (Results 1 – 25 of 197) sorted by relevance

12345678

/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DSQLNonTransientExceptionTest.java52 sQLNonTransientException.getErrorCode(), 0); in test_Constructor_LString()
67 sQLNonTransientException.getErrorCode(), 0); in test_Constructor_LString_1()
84 sQLNonTransientException.getErrorCode(), 0); in test_Constructor_LStringLString()
101 sQLNonTransientException.getErrorCode(), 0); in test_Constructor_LStringLString_1()
117 sQLNonTransientException.getErrorCode(), 0); in test_Constructor_LStringLString_2()
132 sQLNonTransientException.getErrorCode(), 0); in test_Constructor_LStringLString_3()
149 sQLNonTransientException.getErrorCode(), 1); in test_Constructor_LStringLStringI()
166 sQLNonTransientException.getErrorCode(), 0); in test_Constructor_LStringLStringI_1()
183 sQLNonTransientException.getErrorCode(), -1); in test_Constructor_LStringLStringI_2()
199 sQLNonTransientException.getErrorCode(), 1); in test_Constructor_LStringLStringI_3()
[all …]
DSQLTransactionRollbackExceptionTest.java54 sQLTransactionRollbackException.getErrorCode(), 0); in test_Constructor_LString()
72 sQLTransactionRollbackException.getErrorCode(), 0); in test_Constructor_LString_1()
90 sQLTransactionRollbackException.getErrorCode(), 0); in test_Constructor_LStringLString()
109 sQLTransactionRollbackException.getErrorCode(), 0); in test_Constructor_LStringLString_1()
127 sQLTransactionRollbackException.getErrorCode(), 0); in test_Constructor_LStringLString_2()
145 sQLTransactionRollbackException.getErrorCode(), 0); in test_Constructor_LStringLString_3()
163 sQLTransactionRollbackException.getErrorCode(), 1); in test_Constructor_LStringLStringI()
181 sQLTransactionRollbackException.getErrorCode(), 0); in test_Constructor_LStringLStringI_1()
199 sQLTransactionRollbackException.getErrorCode(), -1); in test_Constructor_LStringLStringI_2()
217 sQLTransactionRollbackException.getErrorCode(), 1); in test_Constructor_LStringLStringI_3()
[all …]
DSQLInvalidAuthorizationSpecExceptionTest.java55 sQLInvalidAuthorizationSpecException.getErrorCode(), 0); in test_Constructor_LString()
73 sQLInvalidAuthorizationSpecException.getErrorCode(), 0); in test_Constructor_LString_1()
93 sQLInvalidAuthorizationSpecException.getErrorCode(), 0); in test_Constructor_LStringLString()
113 sQLInvalidAuthorizationSpecException.getErrorCode(), 0); in test_Constructor_LStringLString_1()
132 sQLInvalidAuthorizationSpecException.getErrorCode(), 0); in test_Constructor_LStringLString_2()
150 sQLInvalidAuthorizationSpecException.getErrorCode(), 0); in test_Constructor_LStringLString_3()
170 sQLInvalidAuthorizationSpecException.getErrorCode(), 1); in test_Constructor_LStringLStringI()
190 sQLInvalidAuthorizationSpecException.getErrorCode(), 0); in test_Constructor_LStringLStringI_1()
210 sQLInvalidAuthorizationSpecException.getErrorCode(), -1); in test_Constructor_LStringLStringI_2()
229 sQLInvalidAuthorizationSpecException.getErrorCode(), 1); in test_Constructor_LStringLStringI_3()
[all …]
DSQLRecoverableExceptionTest.java52 sQLRecoverableException.getErrorCode(), 0); in test_Constructor_LString()
67 sQLRecoverableException.getErrorCode(), 0); in test_Constructor_LString_1()
84 sQLRecoverableException.getErrorCode(), 0); in test_Constructor_LStringLString()
101 sQLRecoverableException.getErrorCode(), 0); in test_Constructor_LStringLString_1()
117 sQLRecoverableException.getErrorCode(), 0); in test_Constructor_LStringLString_2()
132 sQLRecoverableException.getErrorCode(), 0); in test_Constructor_LStringLString_3()
149 sQLRecoverableException.getErrorCode(), 1); in test_Constructor_LStringLStringI()
166 sQLRecoverableException.getErrorCode(), 0); in test_Constructor_LStringLStringI_1()
183 sQLRecoverableException.getErrorCode(), -1); in test_Constructor_LStringLStringI_2()
199 sQLRecoverableException.getErrorCode(), 1); in test_Constructor_LStringLStringI_3()
[all …]
DSQLTimeoutExceptionTest.java52 sQLTimeoutException.getErrorCode(), 0); in test_Constructor_LString()
67 sQLTimeoutException.getErrorCode(), 0); in test_Constructor_LString_1()
84 sQLTimeoutException.getErrorCode(), 0); in test_Constructor_LStringLString()
101 sQLTimeoutException.getErrorCode(), 0); in test_Constructor_LStringLString_1()
117 sQLTimeoutException.getErrorCode(), 0); in test_Constructor_LStringLString_2()
132 sQLTimeoutException.getErrorCode(), 0); in test_Constructor_LStringLString_3()
149 sQLTimeoutException.getErrorCode(), 1); in test_Constructor_LStringLStringI()
166 sQLTimeoutException.getErrorCode(), 0); in test_Constructor_LStringLStringI_1()
183 sQLTimeoutException.getErrorCode(), -1); in test_Constructor_LStringLStringI_2()
199 sQLTimeoutException.getErrorCode(), 1); in test_Constructor_LStringLStringI_3()
[all …]
DSQLDataExceptionTest.java51 sQLDataException.getErrorCode(), 0); in test_Constructor_LString()
65 sQLDataException.getErrorCode(), 0); in test_Constructor_LString_1()
82 sQLDataException.getErrorCode(), 0); in test_Constructor_LStringLString()
99 sQLDataException.getErrorCode(), 0); in test_Constructor_LStringLString_1()
115 sQLDataException.getErrorCode(), 0); in test_Constructor_LStringLString_2()
130 sQLDataException.getErrorCode(), 0); in test_Constructor_LStringLString_3()
147 sQLDataException.getErrorCode(), 1); in test_Constructor_LStringLStringI()
164 sQLDataException.getErrorCode(), 0); in test_Constructor_LStringLStringI_1()
181 sQLDataException.getErrorCode(), -1); in test_Constructor_LStringLStringI_2()
197 sQLDataException.getErrorCode(), 1); in test_Constructor_LStringLStringI_3()
[all …]
DSQLIntegrityConstraintViolationExceptionTest.java55 sQLIntegrityConstraintViolationException.getErrorCode(), 0); in test_Constructor_LString()
73 sQLIntegrityConstraintViolationException.getErrorCode(), 0); in test_Constructor_LString_1()
93 sQLIntegrityConstraintViolationException.getErrorCode(), 0); in test_Constructor_LStringLString()
113 sQLIntegrityConstraintViolationException.getErrorCode(), 0); in test_Constructor_LStringLString_1()
132 sQLIntegrityConstraintViolationException.getErrorCode(), 0); in test_Constructor_LStringLString_2()
150 sQLIntegrityConstraintViolationException.getErrorCode(), 0); in test_Constructor_LStringLString_3()
171 sQLIntegrityConstraintViolationException.getErrorCode(), 1); in test_Constructor_LStringLStringI()
192 sQLIntegrityConstraintViolationException.getErrorCode(), 0); in test_Constructor_LStringLStringI_1()
213 sQLIntegrityConstraintViolationException.getErrorCode(), -1); in test_Constructor_LStringLStringI_2()
233 sQLIntegrityConstraintViolationException.getErrorCode(), 1); in test_Constructor_LStringLStringI_3()
[all …]
DSQLNonTransientConnectionExceptionTest.java54 sQLNonTransientConnectionException.getErrorCode(), 0); in test_Constructor_LString()
72 sQLNonTransientConnectionException.getErrorCode(), 0); in test_Constructor_LString_1()
92 sQLNonTransientConnectionException.getErrorCode(), 0); in test_Constructor_LStringLString()
111 sQLNonTransientConnectionException.getErrorCode(), 0); in test_Constructor_LStringLString_1()
130 sQLNonTransientConnectionException.getErrorCode(), 0); in test_Constructor_LStringLString_2()
148 sQLNonTransientConnectionException.getErrorCode(), 0); in test_Constructor_LStringLString_3()
168 sQLNonTransientConnectionException.getErrorCode(), 1); in test_Constructor_LStringLStringI()
188 sQLNonTransientConnectionException.getErrorCode(), 0); in test_Constructor_LStringLStringI_1()
208 sQLNonTransientConnectionException.getErrorCode(), -1); in test_Constructor_LStringLStringI_2()
226 sQLNonTransientConnectionException.getErrorCode(), 1); in test_Constructor_LStringLStringI_3()
[all …]
DSQLFeatureNotSupportedExceptionTest.java54 sQLFeatureNotSupportedException.getErrorCode(), 0); in test_Constructor_LString()
72 sQLFeatureNotSupportedException.getErrorCode(), 0); in test_Constructor_LString_1()
90 sQLFeatureNotSupportedException.getErrorCode(), 0); in test_Constructor_LStringLString()
109 sQLFeatureNotSupportedException.getErrorCode(), 0); in test_Constructor_LStringLString_1()
127 sQLFeatureNotSupportedException.getErrorCode(), 0); in test_Constructor_LStringLString_2()
145 sQLFeatureNotSupportedException.getErrorCode(), 0); in test_Constructor_LStringLString_3()
163 sQLFeatureNotSupportedException.getErrorCode(), 1); in test_Constructor_LStringLStringI()
181 sQLFeatureNotSupportedException.getErrorCode(), 0); in test_Constructor_LStringLStringI_1()
199 sQLFeatureNotSupportedException.getErrorCode(), -1); in test_Constructor_LStringLStringI_2()
217 sQLFeatureNotSupportedException.getErrorCode(), 1); in test_Constructor_LStringLStringI_3()
[all …]
DSQLTransientConnectionExceptionTest.java54 sQLTransientConnectionException.getErrorCode(), 0); in test_Constructor_LString()
72 sQLTransientConnectionException.getErrorCode(), 0); in test_Constructor_LString_1()
90 sQLTransientConnectionException.getErrorCode(), 0); in test_Constructor_LStringLString()
109 sQLTransientConnectionException.getErrorCode(), 0); in test_Constructor_LStringLString_1()
127 sQLTransientConnectionException.getErrorCode(), 0); in test_Constructor_LStringLString_2()
145 sQLTransientConnectionException.getErrorCode(), 0); in test_Constructor_LStringLString_3()
163 sQLTransientConnectionException.getErrorCode(), 1); in test_Constructor_LStringLStringI()
181 sQLTransientConnectionException.getErrorCode(), 0); in test_Constructor_LStringLStringI_1()
199 sQLTransientConnectionException.getErrorCode(), -1); in test_Constructor_LStringLStringI_2()
217 sQLTransientConnectionException.getErrorCode(), 1); in test_Constructor_LStringLStringI_3()
[all …]
DSQLTransientExceptionTest.java52 sQLTransientException.getErrorCode(), 0); in test_Constructor_LString()
67 sQLTransientException.getErrorCode(), 0); in test_Constructor_LString_1()
84 sQLTransientException.getErrorCode(), 0); in test_Constructor_LStringLString()
101 sQLTransientException.getErrorCode(), 0); in test_Constructor_LStringLString_1()
117 sQLTransientException.getErrorCode(), 0); in test_Constructor_LStringLString_2()
132 sQLTransientException.getErrorCode(), 0); in test_Constructor_LStringLString_3()
149 sQLTransientException.getErrorCode(), 1); in test_Constructor_LStringLStringI()
166 sQLTransientException.getErrorCode(), 0); in test_Constructor_LStringLStringI_1()
183 sQLTransientException.getErrorCode(), -1); in test_Constructor_LStringLStringI_2()
199 sQLTransientException.getErrorCode(), 1); in test_Constructor_LStringLStringI_3()
[all …]
DSQLSyntaxErrorExceptionTest.java52 sQLSyntaxErrorException.getErrorCode(), 0); in test_Constructor_LString()
67 sQLSyntaxErrorException.getErrorCode(), 0); in test_Constructor_LString_1()
84 sQLSyntaxErrorException.getErrorCode(), 0); in test_Constructor_LStringLString()
101 sQLSyntaxErrorException.getErrorCode(), 0); in test_Constructor_LStringLString_1()
117 sQLSyntaxErrorException.getErrorCode(), 0); in test_Constructor_LStringLString_2()
132 sQLSyntaxErrorException.getErrorCode(), 0); in test_Constructor_LStringLString_3()
149 sQLSyntaxErrorException.getErrorCode(), 1); in test_Constructor_LStringLStringI()
166 sQLSyntaxErrorException.getErrorCode(), 0); in test_Constructor_LStringLStringI_1()
183 sQLSyntaxErrorException.getErrorCode(), -1); in test_Constructor_LStringLStringI_2()
199 sQLSyntaxErrorException.getErrorCode(), 1); in test_Constructor_LStringLStringI_3()
[all …]
DSQLClientInfoExceptionTest.java46 sqlClientInfoException.getErrorCode(), 0); in test_Constructor()
67 sqlClientInfoException.getErrorCode(), 0); in test_Constructor_LMap()
91 sqlClientInfoException.getErrorCode(), 0); in test_Constructor_LMapLThrowable()
106 sqlClientInfoException.getErrorCode(), 0); in test_Constructor_LMapLThrowable()
128 sqlClientInfoException.getErrorCode(), 0); in test_Constructor_LStringLMap()
152 sqlClientInfoException.getErrorCode(), 0); in test_Constructor_LStringLMapLThrowable()
179 sqlClientInfoException.getErrorCode(), 0); in test_Constructor_LStringLStringLMap()
203 sqlClientInfoException.getErrorCode(), 0); in test_Constructor_LStringLStringLMapLThrowable()
230 sqlClientInfoException.getErrorCode(), 1); in test_Constructor_LStringLStringILMapLThrowable()
DBatchUpdateExceptionTest.java52 aBatchUpdateException.getErrorCode(), in testBatchUpdateException()
98 aBatchUpdateException.getErrorCode(), in testBatchUpdateExceptionintArray()
152 aBatchUpdateException.getErrorCode(), in testBatchUpdateExceptionStringintArray()
208 aBatchUpdateException.getErrorCode(), in testBatchUpdateExceptionStringStringintArray()
265 aBatchUpdateException.getErrorCode(), in testBatchUpdateExceptionStringStringintintArray()
299 assertEquals(0, batchUpdateException.getErrorCode()); in testBatchUpdateExceptionLThrowable()
334 assertEquals(0, batchUpdateException.getErrorCode()); in testBatchUpdateExceptionLString$ILThrowable()
353 assertEquals(0, batchUpdateException.getErrorCode()); in testBatchUpdateExceptionLStringLStringILThrowable()
367 assertEquals(batchUpdateException.getErrorCode(), 1); in testBatchUpdateExceptionLStringLStringI$ILThrowable()
400 aBatchUpdateException.getErrorCode(), in testGetUpdateCounts()
DSQLExceptionTest.java89 .getErrorCode(), theFinalStates3[i]); in testSQLExceptionStringStringint()
138 .getErrorCode(), theFinalStates3[i]); in testSQLExceptionStringString()
185 .getErrorCode(), theFinalStates3[i]); in testSQLExceptionString()
227 .getErrorCode(), theFinalStates3[i]); in testSQLException()
269 theReturn = aSQLException.getErrorCode(); in testGetErrorCode()
280 .getErrorCode(), theFinalStates3[i]); in testGetErrorCode()
336 .getErrorCode(), theFinalStates3[i]); in testGetNextException()
389 .getErrorCode(), theFinalStates3[i]); in testGetSQLState()
443 .getErrorCode(), theFinalStates3[i]); in testSetNextExceptionSQLException()
501 Assert.assertEquals("vendorCode", initThr.getErrorCode(), dserThr
[all …]
/external/google-auth-library-java/oauth2_http/javatests/com/google/auth/oauth2/
DOAuthExceptionTest.java55 assertEquals("errorCode", e.getErrorCode()); in getMessage_fullFormat()
68 assertEquals("errorCode", e.getErrorCode()); in getMessage_descriptionFormat()
82 assertEquals("errorCode", e.getErrorCode()); in getMessage_baseFormat()
96 assertEquals("errorCode", e.getErrorCode()); in createFromHttpResponseException()
112 assertEquals("errorCode", e.getErrorCode()); in createFromHttpResponseException_descriptionFormat()
128 assertEquals("errorCode", e.getErrorCode()); in createFromHttpResponseException_baseFormat()
/external/aws-crt-java/src/test/java/software/amazon/awssdk/crt/test/
DS3ClientTest.java109 context.getErrorCode(), in makeExceptionFromFinishedResponseContext()
312 "Meta request finished with error code " + context.getErrorCode()); in testS3Get()
313 if (context.getErrorCode() != 0) { in testS3Get()
317 onFinishedFuture.complete(Integer.valueOf(context.getErrorCode())); in testS3Get()
357 "Meta request finished with error code " + context.getErrorCode()); in testS3GetErrorHeadersAreReported()
360 assertTrue(context.getErrorCode() > 0); in testS3GetErrorHeadersAreReported()
433 "Meta request finished with error code " + context.getErrorCode()); in testS3CallbackExceptionIsProperlyPropagated()
434 if (context.getErrorCode() != 0) { in testS3CallbackExceptionIsProperlyPropagated()
438 onFinishedFuture.complete(Integer.valueOf(context.getErrorCode())); in testS3CallbackExceptionIsProperlyPropagated()
478 "Meta request finished with error code " + context.getErrorCode()); in testS3GetWithEndpoint()
[all …]
/external/sdk-platform-java/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/
DProtoOperationTransformers.java54 if (!operationSnapshot.getErrorCode().getCode().equals(Code.OK)) { in apply()
59 + operationSnapshot.getErrorCode() in apply()
63 operationSnapshot.getErrorCode(), in apply()
79 operationSnapshot.getErrorCode(), in apply()
111 operationSnapshot.getErrorCode(), in apply()
/external/sdk-platform-java/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/
DProtoOperationTransformers.java54 if (!operationSnapshot.getErrorCode().getCode().equals(Code.OK)) { in apply()
59 + operationSnapshot.getErrorCode() in apply()
63 operationSnapshot.getErrorCode(), in apply()
79 operationSnapshot.getErrorCode(), in apply()
111 operationSnapshot.getErrorCode(), in apply()
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/downloader/
DModelDownloadExceptionTest.java33 assertThat(e.getErrorCode()).isEqualTo(ERROR_CODE); in getErrorCode_constructor1()
41 assertThat(e.getErrorCode()).isEqualTo(ERROR_CODE); in getErrorCode_constructor2()
50 assertThat(e.getErrorCode()).isEqualTo(ERROR_CODE); in getErrorCode_constructor3()
/external/sdk-platform-java/gax-java/gax-httpjson/src/test/java/com/google/api/gax/httpjson/
DHttpJsonOperationSnapshotTest.java54 assertEquals(HttpJsonStatusCode.of(Code.OK), testOperationSnapshot.getErrorCode()); in newBuilderTestNoError()
70 assertEquals(testOperationSnapshot.getErrorCode(), HttpJsonStatusCode.of(403)); in newBuilderTestWithError()
86 assertEquals(HttpJsonStatusCode.of(Code.OK), testOperationSnapshot.getErrorCode()); in newBuilderTestNotDone()
/external/json-schema-validator/src/main/java/com/networknt/schema/
DErrorMessageType.java27 String getErrorCode(); in getErrorCode() method
35 return getErrorCode(); in getErrorCodeValue()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/
DThisObjectTest.java130 if (reply.getErrorCode() == JDWPConstants.Error.NONE) { in testThisObjectTest001()
196 + reply.getErrorCode() in testThisObjectTest001()
197 + "(" + JDWPConstants.Error.getName(reply.getErrorCode()) + ")"); in testThisObjectTest001()
201 … fail("StackFrame::ThisObject command returns unexpected ERROR = " + reply.getErrorCode() in testThisObjectTest001()
202 + "(" + JDWPConstants.Error.getName(reply.getErrorCode()) + ")" in testThisObjectTest001()
/external/cronet/android/java/src/android/net/http/
DQuicExceptionWrapper.java29 public int getErrorCode() { in getErrorCode() method in QuicExceptionWrapper
30 return backend.getErrorCode(); in getErrorCode()
DNetworkExceptionWrapper.java42 public int getErrorCode() { in getErrorCode() method in NetworkExceptionWrapper
43 return backend.getErrorCode(); in getErrorCode()

12345678