/external/apache-xml/src/main/java/org/apache/xml/utils/ |
D | DefaultErrorHandler.java | 282 Throwable cause = exception; in ensureLocationSet() local 287 if(cause instanceof SAXParseException) in ensureLocationSet() 289 locator = new SAXSourceLocator((SAXParseException)cause); in ensureLocationSet() 291 else if (cause instanceof TransformerException) in ensureLocationSet() 293 SourceLocator causeLocator = ((TransformerException)cause).getLocator(); in ensureLocationSet() 298 if(cause instanceof TransformerException) in ensureLocationSet() 299 cause = ((TransformerException)cause).getCause(); in ensureLocationSet() 300 else if(cause instanceof SAXException) in ensureLocationSet() 301 cause = ((SAXException)cause).getException(); in ensureLocationSet() 303 cause = null; in ensureLocationSet() [all …]
|
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
D | SQLInvalidAuthorizationSpecExceptionTest.java | 385 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LThrowable() local 387 cause); in test_Constructor_LThrowable() 401 cause, sQLInvalidAuthorizationSpecException.getCause()); in test_Constructor_LThrowable() 429 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLThrowable() local 431 "MYTESTSTRING", cause); in test_Constructor_LStringLThrowable() 445 cause, sQLInvalidAuthorizationSpecException.getCause()); in test_Constructor_LStringLThrowable() 474 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLThrowable_2() local 476 null, cause); in test_Constructor_LStringLThrowable_2() 515 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLStringLThrowable() local 517 "MYTESTSTRING1", "MYTESTSTRING2", cause); in test_Constructor_LStringLStringLThrowable() [all …]
|
D | SQLNonTransientConnectionExceptionTest.java | 380 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LThrowable() local 382 cause); in test_Constructor_LThrowable() 396 cause, sQLNonTransientConnectionException.getCause()); in test_Constructor_LThrowable() 424 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLThrowable() local 426 "MYTESTSTRING", cause); in test_Constructor_LStringLThrowable() 439 cause, sQLNonTransientConnectionException.getCause()); in test_Constructor_LStringLThrowable() 467 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLThrowable_2() local 469 null, cause); in test_Constructor_LStringLThrowable_2() 508 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLStringLThrowable() local 510 "MYTESTSTRING1", "MYTESTSTRING2", cause); in test_Constructor_LStringLStringLThrowable() [all …]
|
D | SQLTransactionRollbackExceptionTest.java | 368 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LThrowable() local 370 cause); in test_Constructor_LThrowable() 384 cause, sQLTransactionRollbackException.getCause()); in test_Constructor_LThrowable() 412 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLThrowable() local 414 "MYTESTSTRING", cause); in test_Constructor_LStringLThrowable() 427 cause, sQLTransactionRollbackException.getCause()); in test_Constructor_LStringLThrowable() 455 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLThrowable_2() local 457 null, cause); in test_Constructor_LStringLThrowable_2() 495 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLStringLThrowable() local 497 "MYTESTSTRING1", "MYTESTSTRING2", cause); in test_Constructor_LStringLStringLThrowable() [all …]
|
D | SQLFeatureNotSupportedExceptionTest.java | 368 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LThrowable() local 370 cause); in test_Constructor_LThrowable() 384 cause, sQLFeatureNotSupportedException.getCause()); in test_Constructor_LThrowable() 412 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLThrowable() local 414 "MYTESTSTRING", cause); in test_Constructor_LStringLThrowable() 427 cause, sQLFeatureNotSupportedException.getCause()); in test_Constructor_LStringLThrowable() 455 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLThrowable_2() local 457 null, cause); in test_Constructor_LStringLThrowable_2() 495 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLStringLThrowable() local 497 "MYTESTSTRING1", "MYTESTSTRING2", cause); in test_Constructor_LStringLStringLThrowable() [all …]
|
D | SQLTransientConnectionExceptionTest.java | 368 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LThrowable() local 370 cause); in test_Constructor_LThrowable() 384 cause, sQLTransientConnectionException.getCause()); in test_Constructor_LThrowable() 412 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLThrowable() local 414 "MYTESTSTRING", cause); in test_Constructor_LStringLThrowable() 427 cause, sQLTransientConnectionException.getCause()); in test_Constructor_LStringLThrowable() 455 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLThrowable_2() local 457 null, cause); in test_Constructor_LStringLThrowable_2() 495 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLStringLThrowable() local 497 "MYTESTSTRING1", "MYTESTSTRING2", cause); in test_Constructor_LStringLStringLThrowable() [all …]
|
D | SQLTransientExceptionTest.java | 331 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LThrowable() local 333 cause); in test_Constructor_LThrowable() 345 cause, sQLTransientException.getCause()); in test_Constructor_LThrowable() 369 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLThrowable() local 371 "MYTESTSTRING", cause); in test_Constructor_LStringLThrowable() 382 cause, sQLTransientException.getCause()); in test_Constructor_LStringLThrowable() 407 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLThrowable_2() local 409 null, cause); in test_Constructor_LStringLThrowable_2() 440 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLStringLThrowable() local 442 "MYTESTSTRING1", "MYTESTSTRING2", cause); in test_Constructor_LStringLStringLThrowable() [all …]
|
D | SQLRecoverableExceptionTest.java | 331 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LThrowable() local 333 cause); in test_Constructor_LThrowable() 345 cause, sQLRecoverableException.getCause()); in test_Constructor_LThrowable() 369 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLThrowable() local 371 "MYTESTSTRING", cause); in test_Constructor_LStringLThrowable() 382 cause, sQLRecoverableException.getCause()); in test_Constructor_LStringLThrowable() 407 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLThrowable_2() local 409 null, cause); in test_Constructor_LStringLThrowable_2() 440 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLStringLThrowable() local 442 "MYTESTSTRING1", "MYTESTSTRING2", cause); in test_Constructor_LStringLStringLThrowable() [all …]
|
D | SQLTimeoutExceptionTest.java | 331 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LThrowable() local 332 SQLTimeoutException sQLTimeoutException = new SQLTimeoutException(cause); in test_Constructor_LThrowable() 344 cause, sQLTimeoutException.getCause()); in test_Constructor_LThrowable() 368 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLThrowable() local 370 "MYTESTSTRING", cause); in test_Constructor_LStringLThrowable() 381 cause, sQLTimeoutException.getCause()); in test_Constructor_LStringLThrowable() 406 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLThrowable_2() local 408 cause); in test_Constructor_LStringLThrowable_2() 439 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLStringLThrowable() local 441 "MYTESTSTRING1", "MYTESTSTRING2", cause); in test_Constructor_LStringLStringLThrowable() [all …]
|
D | SQLIntegrityConstraintViolationExceptionTest.java | 397 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LThrowable() local 399 cause); in test_Constructor_LThrowable() 413 cause, sQLIntegrityConstraintViolationException.getCause()); in test_Constructor_LThrowable() 442 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLThrowable() local 444 "MYTESTSTRING", cause); in test_Constructor_LStringLThrowable() 458 cause, sQLIntegrityConstraintViolationException.getCause()); in test_Constructor_LStringLThrowable() 489 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLThrowable_2() local 491 null, cause); in test_Constructor_LStringLThrowable_2() 531 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLStringLThrowable() local 533 "MYTESTSTRING1", "MYTESTSTRING2", cause); in test_Constructor_LStringLStringLThrowable() [all …]
|
D | SQLSyntaxErrorExceptionTest.java | 331 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LThrowable() local 333 cause); in test_Constructor_LThrowable() 345 cause, sQLSyntaxErrorException.getCause()); in test_Constructor_LThrowable() 369 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLThrowable() local 371 "MYTESTSTRING", cause); in test_Constructor_LStringLThrowable() 382 cause, sQLSyntaxErrorException.getCause()); in test_Constructor_LStringLThrowable() 407 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLThrowable_2() local 409 null, cause); in test_Constructor_LStringLThrowable_2() 440 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLStringLThrowable() local 442 "MYTESTSTRING1", "MYTESTSTRING2", cause); in test_Constructor_LStringLStringLThrowable() [all …]
|
D | SQLDataExceptionTest.java | 326 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LThrowable() local 327 SQLDataException sQLDataException = new SQLDataException(cause); in test_Constructor_LThrowable() 339 cause, sQLDataException.getCause()); in test_Constructor_LThrowable() 363 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLThrowable() local 365 "MYTESTSTRING", cause); in test_Constructor_LStringLThrowable() 376 cause, sQLDataException.getCause()); in test_Constructor_LStringLThrowable() 401 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLThrowable_2() local 402 SQLDataException sQLDataException = new SQLDataException(null, cause); in test_Constructor_LStringLThrowable_2() 433 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLStringLThrowable() local 435 "MYTESTSTRING1", "MYTESTSTRING2", cause); in test_Constructor_LStringLStringLThrowable() [all …]
|
D | SQLNonTransientExceptionTest.java | 331 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LThrowable() local 333 cause); in test_Constructor_LThrowable() 345 cause, sQLNonTransientException.getCause()); in test_Constructor_LThrowable() 369 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLThrowable() local 371 "MYTESTSTRING", cause); in test_Constructor_LStringLThrowable() 382 cause, sQLNonTransientException.getCause()); in test_Constructor_LStringLThrowable() 407 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLThrowable_2() local 409 null, cause); in test_Constructor_LStringLThrowable_2() 440 Throwable cause = new Exception("MYTHROWABLE"); in test_Constructor_LStringLStringLThrowable() local 442 "MYTESTSTRING1", "MYTESTSTRING2", cause); in test_Constructor_LStringLStringLThrowable() [all …]
|
D | SQLClientInfoExceptionTest.java | 78 Throwable cause = new RuntimeException("Message"); in test_Constructor_LMapLThrowable() local 80 failedProperties, cause); in test_Constructor_LMapLThrowable() 94 cause, sqlClientInfoException.getCause()); in test_Constructor_LMapLThrowable() 140 Throwable cause = new RuntimeException("Message"); in test_Constructor_LStringLMapLThrowable() local 142 "Message", failedProperties, cause); in test_Constructor_LStringLMapLThrowable() 155 cause, sqlClientInfoException.getCause()); in test_Constructor_LStringLMapLThrowable() 190 Throwable cause = new RuntimeException("Message"); in test_Constructor_LStringLStringLMapLThrowable() local 192 "Message", "State", failedProperties, cause); in test_Constructor_LStringLStringLMapLThrowable() 206 cause, sqlClientInfoException.getCause()); in test_Constructor_LStringLStringLMapLThrowable() 217 Throwable cause = new RuntimeException("Message"); in test_Constructor_LStringLStringILMapLThrowable() local [all …]
|
/external/clang/test/SemaObjC/ |
D | circular-container.m | 57 …[_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 …]
|
/external/apache-http/src/org/apache/commons/logging/ |
D | LogConfigurationException.java | 65 public LogConfigurationException(Throwable cause) { in LogConfigurationException() argument 67 this((cause == null) ? null : cause.toString(), cause); in LogConfigurationException() 78 public LogConfigurationException(String message, Throwable cause) { in LogConfigurationException() argument 80 super(message + " (Caused by " + cause + ")"); in LogConfigurationException() 81 this.cause = cause; // Two-argument version requires JDK 1.4 or later in LogConfigurationException() 89 protected Throwable cause = null; field in LogConfigurationException 97 return (this.cause); in getCause()
|
/external/slf4j/jcl-over-slf4j/src/main/java/org/apache/commons/logging/ |
D | LogConfigurationException.java | 62 public LogConfigurationException(Throwable cause) { in LogConfigurationException() argument 64 this((cause == null) ? null : cause.toString(), cause); in LogConfigurationException() 76 public LogConfigurationException(String message, Throwable cause) { in LogConfigurationException() argument 77 super(message + " (Caused by " + cause + ")"); in LogConfigurationException() 78 this.cause = cause; // Two-argument version requires JDK 1.4 or later in LogConfigurationException() 84 protected Throwable cause = null; field in LogConfigurationException 90 return (this.cause); in getCause()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/exception/ |
D | ExtCertPathBuilderException.java | 10 private Throwable cause; field in ExtCertPathBuilderException 12 public ExtCertPathBuilderException(String message, Throwable cause) in ExtCertPathBuilderException() argument 15 this.cause = cause; in ExtCertPathBuilderException() 18 public ExtCertPathBuilderException(String msg, Throwable cause, in ExtCertPathBuilderException() argument 21 super(msg, cause); in ExtCertPathBuilderException() 22 this.cause = cause; in ExtCertPathBuilderException() 27 return cause; in getCause()
|
D | ExtCertPathValidatorException.java | 11 private Throwable cause; field in ExtCertPathValidatorException 13 public ExtCertPathValidatorException(String message, Throwable cause) in ExtCertPathValidatorException() argument 16 this.cause = cause; in ExtCertPathValidatorException() 19 public ExtCertPathValidatorException(String msg, Throwable cause, in ExtCertPathValidatorException() argument 22 super(msg, cause, certPath, index); in ExtCertPathValidatorException() 23 this.cause = cause; in ExtCertPathValidatorException() 28 return cause; in getCause()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/ |
D | FunctionEvaluationException.java | 124 public FunctionEvaluationException(Throwable cause, double argument) { in FunctionEvaluationException() argument 125 super(cause); in FunctionEvaluationException() 136 public FunctionEvaluationException(Throwable cause, double[] argument) { in FunctionEvaluationException() argument 137 super(cause); in FunctionEvaluationException() 150 public FunctionEvaluationException(Throwable cause, in FunctionEvaluationException() argument 153 this(cause, argument, new DummyLocalizable(pattern), arguments); in FunctionEvaluationException() 165 public FunctionEvaluationException(Throwable cause, in FunctionEvaluationException() argument 168 super(cause, pattern, arguments); in FunctionEvaluationException() 181 public FunctionEvaluationException(Throwable cause, in FunctionEvaluationException() argument 184 this(cause, argument, new DummyLocalizable(pattern), arguments); in FunctionEvaluationException() [all …]
|
/external/junit/src/org/junit/internal/runners/ |
D | ErrorReportingRunner.java | 18 public ErrorReportingRunner(Class<?> testClass, Throwable cause) { in ErrorReportingRunner() argument 20 fCauses= getCauses(cause); in ErrorReportingRunner() 38 private List<Throwable> getCauses(Throwable cause) { in getCauses() argument 39 if (cause instanceof InvocationTargetException) in getCauses() 40 return getCauses(cause.getCause()); in getCauses() 41 if (cause instanceof InitializationError) in getCauses() 42 return ((InitializationError) cause).getCauses(); in getCauses() 43 if (cause instanceof org.junit.internal.runners.InitializationError) in getCauses() 44 return ((org.junit.internal.runners.InitializationError) cause) in getCauses() 46 return Arrays.asList(cause); in getCauses()
|
/external/icu/android_icu4j/runner/src/main/java/android/icu/junit/ |
D | ErrorReportingRunner.java | 43 public ErrorReportingRunner(String testClassName, Throwable cause) { in ErrorReportingRunner() argument 46 fCauses = new ArrayList<>(getCauses(cause)); in ErrorReportingRunner() 71 Throwable cause = iterator.next(); in filter() local 72 Description description = describeCause(cause); in filter() 87 private List<Throwable> getCauses(Throwable cause) { in getCauses() argument 88 if (cause instanceof InvocationTargetException) in getCauses() 89 return getCauses(cause.getCause()); in getCauses() 90 if (cause instanceof InitializationError) in getCauses() 91 return ((InitializationError) cause).getCauses(); in getCauses() 92 if (cause instanceof org.junit.internal.runners.InitializationError) in getCauses() [all …]
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/ |
D | CodeGenerationException.java | 22 private Throwable cause; field in CodeGenerationException 24 public CodeGenerationException(Throwable cause) { in CodeGenerationException() argument 25 super(cause.getClass().getName() + "-->" + cause.getMessage()); in CodeGenerationException() 26 this.cause = cause; in CodeGenerationException() 30 return cause; in getCause()
|
/external/guice/core/src/com/google/inject/internal/ |
D | Exceptions.java | 35 Throwable cause = throwable; in rethrowCause() local 36 if(cause.getCause() != null) { in rethrowCause() 37 cause = cause.getCause(); in rethrowCause() 39 return rethrow(cause); in rethrowCause() 58 public UnhandledCheckedUserException(Throwable cause) { in UnhandledCheckedUserException() argument 59 super(cause); in UnhandledCheckedUserException()
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | AbstractLoadingCacheTest.java | 35 final Exception cause = new Exception(); in testGetUnchecked_checked() local 42 throw new ExecutionException(cause); in testGetUnchecked_checked() 57 assertEquals(cause, expected.getCause()); in testGetUnchecked_checked() 66 final RuntimeException cause = new RuntimeException(); in testGetUnchecked_unchecked() local 73 throw new ExecutionException(cause); in testGetUnchecked_unchecked() 88 assertEquals(cause, expected.getCause()); in testGetUnchecked_unchecked() 97 final Error cause = new Error(); in testGetUnchecked_error() local 104 throw new ExecutionError(cause); in testGetUnchecked_error() 119 assertEquals(cause, expected.getCause()); in testGetUnchecked_error() 128 final Throwable cause = new Throwable(); in testGetUnchecked_otherThrowable() local [all …]
|