/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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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/apache-http/src/org/apache/commons/logging/ |
D | LogConfigurationException.java | 60 public LogConfigurationException(Throwable cause) { in LogConfigurationException() argument 62 this((cause == null) ? null : cause.toString(), cause); in LogConfigurationException() 73 public LogConfigurationException(String message, Throwable cause) { in LogConfigurationException() argument 75 super(message + " (Caused by " + cause + ")"); in LogConfigurationException() 76 this.cause = cause; // Two-argument version requires JDK 1.4 or later in LogConfigurationException() 84 protected Throwable cause = null; field in LogConfigurationException 92 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/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/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 …]
|
/external/emma/core/java12/com/vladium/emma/ |
D | EMMARuntimeException.java | 57 public EMMARuntimeException (final Throwable cause) in EMMARuntimeException() argument 59 super (cause); in EMMARuntimeException() 68 public EMMARuntimeException (final String message, final Throwable cause) in EMMARuntimeException() argument 70 super (message, cause); in EMMARuntimeException() 82 …ublic EMMARuntimeException (final String message, final Object [] arguments, final Throwable cause) in EMMARuntimeException() argument 84 super (message, arguments, cause); in EMMARuntimeException()
|
D | EMMAException.java | 57 public EMMAException (final Throwable cause) in EMMAException() argument 59 super (cause); in EMMAException() 68 public EMMAException (final String message, final Throwable cause) in EMMAException() argument 70 super (message, cause); in EMMAException() 82 public EMMAException (final String message, final Object [] arguments, final Throwable cause) in EMMAException() argument 84 super (message, arguments, cause); in EMMAException()
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/ |
D | ExceptionWithContext.java | 75 public ExceptionWithContext(Throwable cause) { in ExceptionWithContext() argument 76 this(null, cause); in ExceptionWithContext() 85 public ExceptionWithContext(String message, Throwable cause) { in ExceptionWithContext() argument 87 (cause != null) ? cause.getMessage() : null, in ExceptionWithContext() 88 cause); in ExceptionWithContext() 90 if (cause instanceof ExceptionWithContext) { in ExceptionWithContext() 91 String ctx = ((ExceptionWithContext) cause).context.toString(); in ExceptionWithContext()
|
/external/dexmaker/src/dx/java/com/android/dx/util/ |
D | ExceptionWithContext.java | 67 public ExceptionWithContext(Throwable cause) { in ExceptionWithContext() argument 68 this(null, cause); in ExceptionWithContext() 77 public ExceptionWithContext(String message, Throwable cause) { in ExceptionWithContext() argument 79 (cause != null) ? cause.getMessage() : null, in ExceptionWithContext() 80 cause); in ExceptionWithContext() 82 if (cause instanceof ExceptionWithContext) { in ExceptionWithContext() 83 String ctx = ((ExceptionWithContext) cause).context.toString(); in ExceptionWithContext()
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/ |
D | RuntimeOperatorException.java | 6 private Throwable cause; field in RuntimeOperatorException 8 public RuntimeOperatorException(String msg, Throwable cause) in RuntimeOperatorException() argument 12 this.cause = cause; in RuntimeOperatorException() 17 return cause; in getCause()
|
D | OperatorStreamException.java | 8 private Throwable cause; field in OperatorStreamException 10 public OperatorStreamException(String msg, Throwable cause) in OperatorStreamException() argument 14 this.cause = cause; in OperatorStreamException() 19 return cause; in getCause()
|