Home
last modified time | relevance | path

Searched full:cause (Results 1 – 25 of 16482) sorted by relevance

12345678910>>...660

/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/xds/go/xds/type/matcher/v3/
Dmatcher.pb.validate.go48 cause: err,
62 cause: err,
74 cause: err,
89 cause error member
99 // Cause function returns cause value.
100 func (e MatcherValidationError) Cause() error { return e.cause } func
110 cause := ""
111 if e.cause != nil {
112 cause = fmt.Sprintf(" | caused by: %v", e.cause)
125 cause)
[all …]
Drange.pb.validate.go52 cause: err,
67 cause error member
77 // Cause function returns cause value.
78 func (e Int64RangeMatcherValidationError) Cause() error { return e.cause } func
90 cause := ""
91 if e.cause != nil {
92 cause = fmt.Sprintf(" | caused by: %v", e.cause)
105 cause)
114 Cause() error
134 cause: err,
[all …]
/aosp_15_r20/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
H A DTestImsCallSessionImpl.java151 Throwable cause = t.getCause(); in startInternal()
153 || (cause != null && cause instanceof DeadObjectException)) { in startInternal()
154 fail("starting cause Throwable to be thrown: " + t); in startInternal()
179 Throwable cause = t.getCause(); in startInternal()
181 || (cause != null && cause instanceof DeadObjectException)) { in startInternal()
182 fail("starting cause Throwable to be thrown: " + t); in startInternal()
198 Throwable cause = t.getCause(); in startInternal()
200 || (cause != null && cause instanceof DeadObjectException)) { in startInternal()
201 fail("starting cause Throwable to be thrown: " + t); in startInternal()
218 Throwable cause = t.getCause(); in startFailed()
[all …]
/aosp_15_r20/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
H A DSQLDataExceptionTest.java326 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LThrowable() local
327 SQLDataException sQLDataException = new SQLDataException(cause); in test_Constructor_LThrowable()
330 "The reason of SQLDataException should be equals to cause.toString()", in test_Constructor_LThrowable()
338 "The cause of SQLDataException set and get should be equivalent", in test_Constructor_LThrowable()
339 cause, sQLDataException.getCause()); in test_Constructor_LThrowable()
355 assertNull("The cause of SQLDataException should be null", in test_Constructor_LThrowable_1()
363 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLThrowable() local
365 "MYTESTSTRING", cause); in test_Constructor_LStringLThrowable()
375 "The cause of SQLDataException set and get should be equivalent", in test_Constructor_LStringLThrowable()
376 cause, sQLDataException.getCause()); in test_Constructor_LStringLThrowable()
[all …]
H A DSQLSyntaxErrorExceptionTest.java331 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LThrowable() local
333 cause); in test_Constructor_LThrowable()
336 "The reason of SQLSyntaxErrorException should be equals to cause.toString()", in test_Constructor_LThrowable()
344 "The cause of SQLSyntaxErrorException set and get should be equivalent", in test_Constructor_LThrowable()
345 cause, sQLSyntaxErrorException.getCause()); in test_Constructor_LThrowable()
361 assertNull("The cause of SQLSyntaxErrorException should be null", in test_Constructor_LThrowable_1()
369 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLThrowable() local
371 "MYTESTSTRING", cause); in test_Constructor_LStringLThrowable()
381 "The cause of SQLSyntaxErrorException set and get should be equivalent", in test_Constructor_LStringLThrowable()
382 cause, sQLSyntaxErrorException.getCause()); in test_Constructor_LStringLThrowable()
[all …]
H A DSQLNonTransientConnectionExceptionTest.java380 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LThrowable() local
382 cause); in test_Constructor_LThrowable()
385 … "The reason of SQLNonTransientConnectionException should be equals to cause.toString()", in test_Constructor_LThrowable()
395 "The cause of SQLNonTransientConnectionException set and get should be equivalent", in test_Constructor_LThrowable()
396 cause, sQLNonTransientConnectionException.getCause()); in test_Constructor_LThrowable()
416 "The cause of SQLNonTransientConnectionException should be null", in test_Constructor_LThrowable_1()
424 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLThrowable() local
426 "MYTESTSTRING", cause); in test_Constructor_LStringLThrowable()
438 "The cause of SQLNonTransientConnectionException set and get should be equivalent", in test_Constructor_LStringLThrowable()
439 cause, sQLNonTransientConnectionException.getCause()); in test_Constructor_LStringLThrowable()
[all …]
H A DSQLNonTransientExceptionTest.java331 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LThrowable() local
333 cause); in test_Constructor_LThrowable()
336 "The reason of SQLNonTransientException should be equals to cause.toString()", in test_Constructor_LThrowable()
344 "The cause of SQLNonTransientException set and get should be equivalent", in test_Constructor_LThrowable()
345 cause, sQLNonTransientException.getCause()); in test_Constructor_LThrowable()
361 assertNull("The cause of SQLNonTransientException should be null", in test_Constructor_LThrowable_1()
369 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLThrowable() local
371 "MYTESTSTRING", cause); in test_Constructor_LStringLThrowable()
381 "The cause of SQLNonTransientException set and get should be equivalent", in test_Constructor_LStringLThrowable()
382 cause, sQLNonTransientException.getCause()); in test_Constructor_LStringLThrowable()
[all …]
H A DSQLTransientExceptionTest.java331 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LThrowable() local
333 cause); in test_Constructor_LThrowable()
336 "The reason of SQLTransientException should be equals to cause.toString()", in test_Constructor_LThrowable()
344 "The cause of SQLTransientException set and get should be equivalent", in test_Constructor_LThrowable()
345 cause, sQLTransientException.getCause()); in test_Constructor_LThrowable()
361 assertNull("The cause of SQLTransientException should be null", in test_Constructor_LThrowable_1()
369 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLThrowable() local
371 "MYTESTSTRING", cause); in test_Constructor_LStringLThrowable()
381 "The cause of SQLTransientException set and get should be equivalent", in test_Constructor_LStringLThrowable()
382 cause, sQLTransientException.getCause()); in test_Constructor_LStringLThrowable()
[all …]
H A DSQLTimeoutExceptionTest.java331 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LThrowable() local
332 SQLTimeoutException sQLTimeoutException = new SQLTimeoutException(cause); in test_Constructor_LThrowable()
335 "The reason of SQLTimeoutException should be equals to cause.toString()", in test_Constructor_LThrowable()
343 "The cause of SQLTimeoutException set and get should be equivalent", in test_Constructor_LThrowable()
344 cause, sQLTimeoutException.getCause()); in test_Constructor_LThrowable()
360 assertNull("The cause of SQLTimeoutException should be null", in test_Constructor_LThrowable_1()
368 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLThrowable() local
370 "MYTESTSTRING", cause); in test_Constructor_LStringLThrowable()
380 "The cause of SQLTimeoutException set and get should be equivalent", in test_Constructor_LStringLThrowable()
381 cause, sQLTimeoutException.getCause()); in test_Constructor_LStringLThrowable()
[all …]
H A DSQLIntegrityConstraintViolationExceptionTest.java397 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LThrowable() local
399 cause); in test_Constructor_LThrowable()
402 … "The reason of SQLIntegrityConstraintViolationException should be equals to cause.toString()", in test_Constructor_LThrowable()
412 … "The cause of SQLIntegrityConstraintViolationException set and get should be equivalent", in test_Constructor_LThrowable()
413 cause, sQLIntegrityConstraintViolationException.getCause()); in test_Constructor_LThrowable()
433 "The cause of SQLIntegrityConstraintViolationException should be null", in test_Constructor_LThrowable_1()
442 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLThrowable() local
444 "MYTESTSTRING", cause); in test_Constructor_LStringLThrowable()
457 … "The cause of SQLIntegrityConstraintViolationException set and get should be equivalent", in test_Constructor_LStringLThrowable()
458 cause, sQLIntegrityConstraintViolationException.getCause()); in test_Constructor_LStringLThrowable()
[all …]
H A DSQLTransientConnectionExceptionTest.java368 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LThrowable() local
370 cause); in test_Constructor_LThrowable()
373 … "The reason of SQLTransientConnectionException should be equals to cause.toString()", in test_Constructor_LThrowable()
383 "The cause of SQLTransientConnectionException set and get should be equivalent", in test_Constructor_LThrowable()
384 cause, sQLTransientConnectionException.getCause()); in test_Constructor_LThrowable()
404 "The cause of SQLTransientConnectionException should be null", in test_Constructor_LThrowable_1()
412 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLThrowable() local
414 "MYTESTSTRING", cause); in test_Constructor_LStringLThrowable()
426 "The cause of SQLTransientConnectionException set and get should be equivalent", in test_Constructor_LStringLThrowable()
427 cause, sQLTransientConnectionException.getCause()); in test_Constructor_LStringLThrowable()
[all …]
H A DSQLFeatureNotSupportedExceptionTest.java368 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LThrowable() local
370 cause); in test_Constructor_LThrowable()
373 … "The reason of SQLFeatureNotSupportedException should be equals to cause.toString()", in test_Constructor_LThrowable()
383 "The cause of SQLFeatureNotSupportedException set and get should be equivalent", in test_Constructor_LThrowable()
384 cause, sQLFeatureNotSupportedException.getCause()); in test_Constructor_LThrowable()
404 "The cause of SQLFeatureNotSupportedException should be null", in test_Constructor_LThrowable_1()
412 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLThrowable() local
414 "MYTESTSTRING", cause); in test_Constructor_LStringLThrowable()
426 "The cause of SQLFeatureNotSupportedException set and get should be equivalent", in test_Constructor_LStringLThrowable()
427 cause, sQLFeatureNotSupportedException.getCause()); in test_Constructor_LStringLThrowable()
[all …]
H A DSQLRecoverableExceptionTest.java331 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LThrowable() local
333 cause); in test_Constructor_LThrowable()
336 "The reason of SQLRecoverableException should be equals to cause.toString()", in test_Constructor_LThrowable()
344 "The cause of SQLRecoverableException set and get should be equivalent", in test_Constructor_LThrowable()
345 cause, sQLRecoverableException.getCause()); in test_Constructor_LThrowable()
361 assertNull("The cause of SQLRecoverableException should be null", in test_Constructor_LThrowable_1()
369 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLThrowable() local
371 "MYTESTSTRING", cause); in test_Constructor_LStringLThrowable()
381 "The cause of SQLRecoverableException set and get should be equivalent", in test_Constructor_LStringLThrowable()
382 cause, sQLRecoverableException.getCause()); in test_Constructor_LStringLThrowable()
[all …]
H A DSQLTransactionRollbackExceptionTest.java368 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LThrowable() local
370 cause); in test_Constructor_LThrowable()
373 … "The reason of SQLTransactionRollbackException should be equals to cause.toString()", in test_Constructor_LThrowable()
383 "The cause of SQLTransactionRollbackException set and get should be equivalent", in test_Constructor_LThrowable()
384 cause, sQLTransactionRollbackException.getCause()); in test_Constructor_LThrowable()
404 "The cause of SQLTransactionRollbackException should be null", in test_Constructor_LThrowable_1()
412 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLThrowable() local
414 "MYTESTSTRING", cause); in test_Constructor_LStringLThrowable()
426 "The cause of SQLTransactionRollbackException set and get should be equivalent", in test_Constructor_LStringLThrowable()
427 cause, sQLTransactionRollbackException.getCause()); in test_Constructor_LStringLThrowable()
[all …]
H A DSQLInvalidAuthorizationSpecExceptionTest.java385 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LThrowable() local
387 cause); in test_Constructor_LThrowable()
390 … "The reason of SQLInvalidAuthorizationSpecException should be equals to cause.toString()", in test_Constructor_LThrowable()
400 … "The cause of SQLInvalidAuthorizationSpecException set and get should be equivalent", in test_Constructor_LThrowable()
401 cause, sQLInvalidAuthorizationSpecException.getCause()); in test_Constructor_LThrowable()
421 "The cause of SQLInvalidAuthorizationSpecException should be null", in test_Constructor_LThrowable_1()
429 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLThrowable() local
431 "MYTESTSTRING", cause); in test_Constructor_LStringLThrowable()
444 … "The cause of SQLInvalidAuthorizationSpecException set and get should be equivalent", in test_Constructor_LStringLThrowable()
445 cause, sQLInvalidAuthorizationSpecException.getCause()); in test_Constructor_LStringLThrowable()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/xds/go/xds/annotations/v3/
Dstatus.pb.validate.go54 cause error member
64 // Cause function returns cause value.
65 func (e FileStatusAnnotationValidationError) Cause() error { return e.cause } func
77 cause := ""
78 if e.cause != nil {
79 cause = fmt.Sprintf(" | caused by: %v", e.cause)
92 cause)
101 Cause() error
123 cause error member
133 // Cause function returns cause value.
[all …]
Dmigrate.pb.validate.go54 cause error member
64 // Cause function returns cause value.
65 func (e MigrateAnnotationValidationError) Cause() error { return e.cause } func
77 cause := ""
78 if e.cause != nil {
79 cause = fmt.Sprintf(" | caused by: %v", e.cause)
92 cause)
101 Cause() error
125 cause error member
135 // Cause function returns cause value.
[all …]
/aosp_15_r20/external/clang/test/SemaObjC/
H A Dcircular-container.m57 …[_array addObject:_array]; // expected-warning {{adding '_array' to '_array' might cause circular …
58 …"key"]; // expected-warning {{adding '_dictionary' to '_dictionary' might cause circular dependenc…
59 …[_set addObject:_set]; // expected-warning {{adding '_set' to '_set' might cause circular dependen…
60 …edSet]; // expected-warning {{adding '_countedSet' to '_countedSet' might cause circular dependenc…
61 …edSet]; // expected-warning {{adding '_orderedSet' to '_orderedSet' might cause circular dependenc…
65 …[a addObject:a]; // expected-warning {{adding 'a' to 'a' might cause circular dependency in contai…
69 …[d setObject:d forKey:@"key"]; // expected-warning {{adding 'd' to 'd' might cause circular depend…
73 …[s addObject:s]; // expected-warning {{adding 's' to 's' might cause circular dependency in contai…
77 …[s addObject:s]; // expected-warning {{adding 's' to 's' might cause circular dependency in contai…
81 …[s addObject:s]; // expected-warning {{adding 's' to 's' might cause circular dependency in contai…
[all …]
/aosp_15_r20/external/sdk-platform-java/gax-java/gax/src/main/java/com/google/api/gax/rpc/
H A DApiExceptionFactory.java40 Throwable cause, StatusCode statusCode, boolean retryable) { in createException() argument
41 return createException(cause, statusCode, retryable, null); in createException()
45 String message, Throwable cause, StatusCode statusCode, boolean retryable) { in createException() argument
48 return new CancelledException(message, cause, statusCode, retryable); in createException()
50 return new NotFoundException(message, cause, statusCode, retryable); in createException()
52 return new InvalidArgumentException(message, cause, statusCode, retryable); in createException()
54 return new DeadlineExceededException(message, cause, statusCode, retryable); in createException()
56 return new AlreadyExistsException(message, cause, statusCode, retryable); in createException()
58 return new PermissionDeniedException(message, cause, statusCode, retryable); in createException()
60 return new ResourceExhaustedException(message, cause, statusCode, retryable); in createException()
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/context/
Dx_test.go499 cause := fmt.Errorf("Because!")
500 pcancel(cause)
511 if got, want := Cause(c), cause; got != want {
512 t.Errorf("child has wrong cause; got = %v, want = %v", got, want)
520 cause := fmt.Errorf("Because!")
521 go pcancel(cause)
528 if got, want := Cause(c), cause; got != want {
529 t.Errorf("child has wrong cause; got = %v, want = %v", got, want)
589 cause error
595 cause: nil,
[all …]
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/gensrcs/libcore/ojluni/src/main/java/java/lang/
DThrowable.java59 * contain a <i>cause</i>: another throwable that caused this
62 * cause can, itself, have a cause, and so on, leading to a "chain" of
65 * <p>One reason that a throwable may have a cause is that the class that
73 * cause) allows the upper layer to communicate the details of the failure to
79 * <p>A second reason that a throwable may have a cause is that the method
81 * permit the method to throw the cause directly. For example, suppose
92 * <p>A cause can be associated with a throwable in two ways: via a
93 * constructor that takes the cause as an argument, or via the
96 * that take a cause and delegate (perhaps indirectly) to one of the
97 * {@code Throwable} constructors that takes a cause.
[all …]
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/4/libcore/ojluni/src/main/java/java/lang/
DThrowable.java59 * contain a <i>cause</i>: another throwable that caused this
62 * cause can, itself, have a cause, and so on, leading to a "chain" of
65 * <p>One reason that a throwable may have a cause is that the class that
73 * cause) allows the upper layer to communicate the details of the failure to
79 * <p>A second reason that a throwable may have a cause is that the method
81 * permit the method to throw the cause directly. For example, suppose
92 * <p>A cause can be associated with a throwable in two ways: via a
93 * constructor that takes the cause as an argument, or via the
96 * that take a cause and delegate (perhaps indirectly) to one of the
97 * {@code Throwable} constructors that takes a cause.
[all …]
/aosp_15_r20/libcore/ojluni/src/main/java/java/lang/
H A DThrowable.java59 * contain a <i>cause</i>: another throwable that caused this
62 * cause can, itself, have a cause, and so on, leading to a "chain" of
65 * <p>One reason that a throwable may have a cause is that the class that
73 * cause) allows the upper layer to communicate the details of the failure to
79 * <p>A second reason that a throwable may have a cause is that the method
81 * permit the method to throw the cause directly. For example, suppose
92 * <p>A cause can be associated with a throwable in two ways: via a
93 * constructor that takes the cause as an argument, or via the
96 * that take a cause and delegate (perhaps indirectly) to one of the
97 * {@code Throwable} constructors that takes a cause.
[all …]
/aosp_15_r20/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/
H A DJobSupport.kt207 val proposedException = (proposedUpdate as? CompletedExceptionally)?.cause in <lambda>()
251 * 1) If we have non-CE, use it as root cause in <lambda>()
252 … * 2) If our original cause was TCE, use *non-original* TCE because of the special nature of TCE in <lambda>()
254 …* - The first instance (cancellation cause) is created by timeout coroutine and has no meaningf… in <lambda>()
272 * Note that root cause may be a recovered exception as well. in <lambda>()
273 … * To avoid cycles we unwrap the root cause and check for self-suppression against unwrapped cause, in <lambda>()
274 * but add suppressed exceptions to the recovered root cause (as it is our final exception) in <lambda>()
298 …// suppressed == true when any exceptions were suppressed while building the final completion cause in <lambda>()
310 val cause = (update as? CompletedExceptionally)?.cause in <lambda>() constant
317 state.invoke(cause) in <lambda>()
[all …]
/aosp_15_r20/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/targetprep/
DTargetSetupError.java34 * @param reason a error message describing the cause of the error
46 * @param reason a error message describing the cause of the error
57 * @param reason a error message describing the cause of the error
68 * @param reason a error message describing the cause of the error
78 * Constructs a new (@link TargetSetupError} with a meaningful error message, and a cause.
81 * @param cause a {@link Throwable} capturing the original cause of the TargetSetupError
86 public TargetSetupError(String reason, Throwable cause) { in TargetSetupError() argument
87 this(reason, cause, null, true, null); in TargetSetupError()
92 * Constructs a new (@link TargetSetupError} with a meaningful error message, and a cause.
95 * @param cause a {@link Throwable} capturing the original cause of the TargetSetupError
[all …]

12345678910>>...660