Home
last modified time | relevance | path

Searched defs:exception (Results 676 – 700 of 6738) sorted by relevance

1...<<21222324252627282930>>...270

/aosp_15_r20/external/kotlinx.serialization/formats/json-tests/commonTest/src/kotlinx/serialization/test/
H A DTestingFramework.kt60 val exception = assertFailsWith(SerializationException::class, assertionMessage, block) in assertFailsWithSerial() constant
73 val exception = assertFailsWith(SerializationException::class, assertionMessage, block) in assertFailsWithSerialMessage() constant
89 val exception = assertFailsWith(T::class, assertionMessage, block) in assertFailsWithMessage() constant
/aosp_15_r20/external/ow2-asm/asm/src/test/java/org/objectweb/asm/
H A DMethodVisitorTest.java59 Exception exception = assertThrows(IllegalArgumentException.class, constructor); in testConstructor_invalidApi() local
77 Exception exception = assertThrows(UnsupportedOperationException.class, visitParameter); in testVisitParameter_asm4Visitor() local
87 Exception exception = assertThrows(UnsupportedOperationException.class, visitTypeAnnotation); in testVisitTypeAnnotation_asm4Visitor() local
98 Exception exception = assertThrows(UnsupportedOperationException.class, visitInvokeDynamicInsn); in testVisitInvokeDynamicInsn_asm4Visitor() local
108 Exception exception = assertThrows(UnsupportedOperationException.class, visitInsnAnnotation); in testVisitInsnAnnotation_asm4Visitor() local
119 Exception exception = in testVisitTryCatchAnnotation_asm4Visitor() local
131 Exception exception = in testVisitLocalVariableAnnotation_asm4Visitor() local
176 Exception exception = assertThrows(IllegalArgumentException.class, visitFrame); in testVisitFrame_compressedFrameWithV1_5class() local
310 Exception exception = assertThrows(UnsupportedOperationException.class, visitMethodInsn); in testVisitMethodInsn_asm4Visitor_isInterface() local
341 Exception exception = assertThrows(UnsupportedOperationException.class, visitMethodInsn); in testVisitMethodInsn_overridenAsm4Visitor_isInterface() local
/aosp_15_r20/external/google-cloud-java/java-asset/google-cloud-asset/src/test/java/com/google/cloud/asset/v1p2beta1/
H A DAssetServiceClientHttpJsonTest.java110 ApiException exception = in createFeedExceptionTest() local
158 ApiException exception = in getFeedExceptionTest() local
206 ApiException exception = in getFeedExceptionTest2() local
248 ApiException exception = in listFeedsExceptionTest() local
303 ApiException exception = in updateFeedExceptionTest() local
350 ApiException exception = in deleteFeedExceptionTest() local
390 ApiException exception = in deleteFeedExceptionTest2() local
H A DAssetServiceClientTest.java110 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in createFeedExceptionTest() local
152 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in getFeedExceptionTest() local
194 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in getFeedExceptionTest2() local
230 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in listFeedsExceptionTest() local
272 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in updateFeedExceptionTest() local
306 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in deleteFeedExceptionTest() local
340 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in deleteFeedExceptionTest2() local
/aosp_15_r20/external/google-cloud-java/java-dataproc/google-cloud-dataproc/src/test/java/com/google/cloud/dataproc/v1/
H A DJobControllerClientHttpJsonTest.java128 ApiException exception = in submitJobExceptionTest() local
193 ApiException exception = in submitJobAsOperationExceptionTest() local
251 ApiException exception = in getJobExceptionTest() local
304 ApiException exception = in listJobsExceptionTest() local
357 ApiException exception = in listJobsExceptionTest2() local
421 ApiException exception = in updateJobExceptionTest() local
485 ApiException exception = in cancelJobExceptionTest() local
529 ApiException exception = in deleteJobExceptionTest() local
H A DJobControllerClientTest.java130 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in submitJobExceptionTest() local
191 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in submitJobAsOperationExceptionTest() local
248 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in getJobExceptionTest() local
296 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in listJobsExceptionTest() local
345 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in listJobsExceptionTest2() local
407 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in updateJobExceptionTest() local
467 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in cancelJobExceptionTest() local
507 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in deleteJobExceptionTest() local
/aosp_15_r20/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/config/
DSafetySourcesGroupTest.kt222 val exception = assertFailsWith(IllegalStateException::class) { builder.build() } in build_hiddenGroupWithDynamicSource_throwsIllegalStateException() constant
239 val exception = assertFailsWith(IllegalStateException::class) { builder.build() } in build_hiddenGroupWithStaticSource_throwsIllegalStateException() constant
257 val exception = assertFailsWith(IllegalStateException::class) { builder.build() } in build_statefulGroupWithIssueOnlySource_throwsIllegalStateException() constant
276 val exception = assertFailsWith(IllegalStateException::class) { builder.build() } in build_statelessGroupWithIssueOnlySource_throwsIllegalStateException() constant
/aosp_15_r20/external/sdk-platform-java/java-core/google-cloud-core/src/main/java/com/google/cloud/
H A DExceptionHandler.java65 RetryResult beforeEval(Exception exception); in beforeEval()
76 RetryResult afterEval(Exception exception, RetryResult retryResult); in afterEval()
141 private final Class<? extends Exception> exception; field in ExceptionHandler.RetryInfo
145 RetryInfo(Class<? extends Exception> exception, Interceptor.RetryResult retry) { in RetryInfo()
198 Set<RetryInfo> retryInfo, Class<? extends Exception> exception) { in findMostSpecificRetryInfo()
228 Class<? extends Exception> exception = (Class<? extends Exception>) exceptionOrError; in verifyCaller() local
231 "Declared exception '" + exception + "' is not covered by exception handler"); in verifyCaller() local
/aosp_15_r20/external/sdk-platform-java/showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/
H A DSequenceServiceClientHttpJsonTest.java117 ApiException exception = in createSequenceExceptionTest() local
162 ApiException exception = in getSequenceReportExceptionTest() local
207 ApiException exception = in getSequenceReportExceptionTest2() local
247 ApiException exception = in attemptSequenceExceptionTest() local
287 ApiException exception = in attemptSequenceExceptionTest2() local
343 ApiException exception = in listLocationsExceptionTest() local
400 ApiException exception = in getLocationExceptionTest() local
H A DSequenceServiceClientTest.java119 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in createSequenceExceptionTest() local
158 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in getSequenceReportExceptionTest() local
197 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in getSequenceReportExceptionTest2() local
231 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in attemptSequenceExceptionTest() local
265 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in attemptSequenceExceptionTest2() local
318 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in listLocationsExceptionTest() local
366 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in getLocationExceptionTest() local
/aosp_15_r20/packages/services/Car/tests/CarLibUnitTest/src/android/car/hardware/property/
DCarPropertyManagerUnitTest.java479 CarInternalErrorException exception = assertThrows(CarInternalErrorException.class, in testGetProperty_internalErrorEqualAfterU_withVendorErrorCode() local
657 PropertyNotAvailableException exception = assertThrows(PropertyNotAvailableException.class, in testGetProperty_notAvailableEqualAfterU_withVendorErrorCode() local
679 PropertyNotAvailableException exception = assertThrows(PropertyNotAvailableException.class, in testGetProperty_notAvailableDisabledAfterU() local
692 PropertyNotAvailableException exception = assertThrows(PropertyNotAvailableException.class, in testGetProperty_notAvailableDisabledAfterU_withVendorErrorCode() local
716 PropertyNotAvailableException exception = assertThrows(PropertyNotAvailableException.class, in testGetProperty_notAvailableSafetyAfterU() local
729 PropertyNotAvailableException exception = assertThrows(PropertyNotAvailableException.class, in testGetProperty_notAvailableSafetyAfterU_withVendorErrorCode() local
753 PropertyNotAvailableException exception = assertThrows(PropertyNotAvailableException.class, in testGetProperty_notAvailableSpeedHighAfterU() local
766 PropertyNotAvailableException exception = assertThrows(PropertyNotAvailableException.class, in testGetProperty_notAvailableSpeedHighAfterU_withVendorErrorCode() local
790 PropertyNotAvailableException exception = assertThrows(PropertyNotAvailableException.class, in testGetProperty_notAvailableSpeedLowAfterU() local
803 PropertyNotAvailableException exception = assertThrows(PropertyNotAvailableException.class, in testGetProperty_notAvailableSpeedLowAfterU_withVendorErrorCode() local
[all …]
/aosp_15_r20/external/ow2-asm/asm-util/src/test/java/org/objectweb/asm/util/
H A DCheckSignatureAdapterTest.java232 Exception exception = assertThrows(IllegalArgumentException.class, visitBaseType); in testVisitBaseType_typeSignature_illegalVoidArgument() local
243 Exception exception = assertThrows(IllegalArgumentException.class, visitBaseType); in testVisitBaseType_typeSignature_illegalArgument() local
274 Exception exception = assertThrows(IllegalArgumentException.class, visitTypeVariable); in testVisitTypeVariable_typeSignature_nullArgument() local
285 Exception exception = assertThrows(IllegalArgumentException.class, visitTypeVariable); in testVisitTypeVariable_typeSignature_emptyArgument() local
296 Exception exception = assertThrows(IllegalArgumentException.class, visitTypeVariable); in testVisitTypeVariable_typeSignature_illegalArgument() local
350 Exception exception = assertThrows(IllegalArgumentException.class, visitClassType); in testVisitClassType_typeSignature_nullArgument() local
361 Exception exception = assertThrows(IllegalArgumentException.class, visitClassType); in testVisitClassType_typeSignature_emptyArgument() local
372 Exception exception = assertThrows(IllegalArgumentException.class, visitClassType); in testVisitClassType_typeSignature_illegalArgument() local
437 Exception exception = assertThrows(IllegalArgumentException.class, visitTypeArgument); in testVisitTypeArgument_wildcard_illegalArgument() local
/aosp_15_r20/external/google-cloud-java/java-dataflow/google-cloud-dataflow/src/test/java/com/google/dataflow/v1beta3/
H A DJobsV1Beta3ClientTest.java147 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in createJobExceptionTest() local
225 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in getJobExceptionTest() local
302 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in updateJobExceptionTest() local
364 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in listJobsExceptionTest() local
427 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in aggregatedListJobsExceptionTest() local
471 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in checkActiveJobsExceptionTest() local
532 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in snapshotJobExceptionTest() local
/aosp_15_r20/external/google-cloud-java/java-aiplatform/google-cloud-aiplatform/src/test/java/com/google/cloud/aiplatform/v1beta1/
H A DMatchServiceClientTest.java139 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in findNeighborsExceptionTest() local
192 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in readIndexDatapointsExceptionTest() local
251 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in listLocationsExceptionTest() local
299 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in getLocationExceptionTest() local
349 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in setIamPolicyExceptionTest() local
405 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in getIamPolicyExceptionTest() local
455 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in testIamPermissionsExceptionTest() local
H A DModelGardenServiceClientTest.java134 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in getPublisherModelExceptionTest() local
177 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in getPublisherModelExceptionTest2() local
230 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in listLocationsExceptionTest() local
278 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in getLocationExceptionTest() local
328 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in setIamPolicyExceptionTest() local
384 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in getIamPolicyExceptionTest() local
434 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in testIamPermissionsExceptionTest() local
/aosp_15_r20/external/google-cloud-java/java-iamcredentials/google-cloud-iamcredentials/src/test/java/com/google/cloud/iam/credentials/v1/
H A DIAMCredentialsClientTest.java116 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in generateAccessTokenExceptionTest() local
165 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in generateAccessTokenExceptionTest2() local
211 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in generateIdTokenExceptionTest() local
257 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in generateIdTokenExceptionTest2() local
303 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in signBlobExceptionTest() local
348 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in signBlobExceptionTest2() local
393 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in signJwtExceptionTest() local
438 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in signJwtExceptionTest2() local
H A DIAMCredentialsClientHttpJsonTest.java113 ApiException exception = in generateAccessTokenExceptionTest() local
165 ApiException exception = in generateAccessTokenExceptionTest2() local
214 ApiException exception = in generateIdTokenExceptionTest() local
263 ApiException exception = in generateIdTokenExceptionTest2() local
313 ApiException exception = in signBlobExceptionTest() local
362 ApiException exception = in signBlobExceptionTest2() local
411 ApiException exception = in signJwtExceptionTest() local
460 ApiException exception = in signJwtExceptionTest2() local
/aosp_15_r20/external/sdk-platform-java/test/integration/goldens/credentials/src/com/google/cloud/iam/credentials/v1/
H A DIAMCredentialsClientHttpJsonTest.java113 ApiException exception = in generateAccessTokenExceptionTest() local
165 ApiException exception = in generateAccessTokenExceptionTest2() local
214 ApiException exception = in generateIdTokenExceptionTest() local
263 ApiException exception = in generateIdTokenExceptionTest2() local
313 ApiException exception = in signBlobExceptionTest() local
362 ApiException exception = in signBlobExceptionTest2() local
411 ApiException exception = in signJwtExceptionTest() local
460 ApiException exception = in signJwtExceptionTest2() local
H A DIAMCredentialsClientTest.java116 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in generateAccessTokenExceptionTest() local
165 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in generateAccessTokenExceptionTest2() local
211 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in generateIdTokenExceptionTest() local
257 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in generateIdTokenExceptionTest2() local
303 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in signBlobExceptionTest() local
348 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in signBlobExceptionTest2() local
393 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in signJwtExceptionTest() local
438 StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); in signJwtExceptionTest2() local
/aosp_15_r20/external/google-cloud-java/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/
H A DNodeTemplatesClientTest.java123 ApiException exception = in aggregatedListExceptionTest() local
192 ApiException exception = in deleteExceptionTest() local
254 ApiException exception = in getExceptionTest() local
307 ApiException exception = in getIamPolicyExceptionTest() local
378 ApiException exception = in insertExceptionTest() local
430 ApiException exception = in listExceptionTest() local
485 ApiException exception = in setIamPolicyExceptionTest() local
536 ApiException exception = in testIamPermissionsExceptionTest() local
H A DNetworkAttachmentsClientTest.java123 ApiException exception = in aggregatedListExceptionTest() local
192 ApiException exception = in deleteExceptionTest() local
253 ApiException exception = in getExceptionTest() local
306 ApiException exception = in getIamPolicyExceptionTest() local
377 ApiException exception = in insertExceptionTest() local
429 ApiException exception = in listExceptionTest() local
484 ApiException exception = in setIamPolicyExceptionTest() local
535 ApiException exception = in testIamPermissionsExceptionTest() local
H A DResourcePoliciesClientTest.java122 ApiException exception = in aggregatedListExceptionTest() local
191 ApiException exception = in deleteExceptionTest() local
249 ApiException exception = in getExceptionTest() local
302 ApiException exception = in getIamPolicyExceptionTest() local
373 ApiException exception = in insertExceptionTest() local
425 ApiException exception = in listExceptionTest() local
480 ApiException exception = in setIamPolicyExceptionTest() local
531 ApiException exception = in testIamPermissionsExceptionTest() local
H A DVpnGatewaysClientTest.java123 ApiException exception = in aggregatedListExceptionTest() local
192 ApiException exception = in deleteExceptionTest() local
250 ApiException exception = in getExceptionTest() local
298 ApiException exception = in getStatusExceptionTest() local
369 ApiException exception = in insertExceptionTest() local
421 ApiException exception = in listExceptionTest() local
494 ApiException exception = in setLabelsExceptionTest() local
544 ApiException exception = in testIamPermissionsExceptionTest() local
H A DForwardingRulesClientTest.java123 ApiException exception = in aggregatedListExceptionTest() local
192 ApiException exception = in deleteExceptionTest() local
272 ApiException exception = in getExceptionTest() local
343 ApiException exception = in insertExceptionTest() local
395 ApiException exception = in listExceptionTest() local
467 ApiException exception = in patchExceptionTest() local
541 ApiException exception = in setLabelsExceptionTest() local
615 ApiException exception = in setTargetExceptionTest() local
/aosp_15_r20/external/junit/src/main/java/org/junit/internal/
H A DThrowables.java60 public static String getStacktrace(Throwable exception) { in getStacktrace()
73 public static String getTrimmedStackTrace(Throwable exception) { in getTrimmedStackTrace()
85 private static List<String> getTrimmedStackTraceLines(Throwable exception) { in getTrimmedStackTraceLines()
118 private static boolean hasSuppressed(Throwable exception) { in hasSuppressed()
130 private static List<String> getCauseStackTraceLines(Throwable exception) { in getCauseStackTraceLines()
156 private static String getFullStackTrace(Throwable exception) { in getFullStackTrace()

1...<<21222324252627282930>>...270