Home
last modified time | relevance | path

Searched refs:cause (Results 1 – 25 of 148) sorted by relevance

123456

/libcore/ojluni/src/main/java/java/sql/
DBatchUpdateException.java191 public BatchUpdateException(Throwable cause) { in BatchUpdateException() argument
192 this((cause == null ? null : cause.toString()), null, 0, null, cause); in BatchUpdateException()
217 public BatchUpdateException(int []updateCounts , Throwable cause) { in BatchUpdateException() argument
218 this((cause == null ? null : cause.toString()), null, 0, updateCounts, cause); in BatchUpdateException()
241 public BatchUpdateException(String reason, int []updateCounts, Throwable cause) { in BatchUpdateException() argument
242 this(reason, null, 0, updateCounts, cause); in BatchUpdateException()
266 int []updateCounts, Throwable cause) { in BatchUpdateException() argument
267 this(reason, SQLState, 0, updateCounts, cause); in BatchUpdateException()
293 int []updateCounts,Throwable cause) { in BatchUpdateException() argument
294 super(reason, SQLState, vendorCode, cause); in BatchUpdateException()
DSQLTransactionRollbackException.java119 public SQLTransactionRollbackException(Throwable cause) { in SQLTransactionRollbackException() argument
120 super(cause); in SQLTransactionRollbackException()
135 public SQLTransactionRollbackException(String reason, Throwable cause) { in SQLTransactionRollbackException() argument
136 super(reason, cause); in SQLTransactionRollbackException()
151 public SQLTransactionRollbackException(String reason, String SQLState, Throwable cause) { in SQLTransactionRollbackException() argument
152 super(reason, SQLState, cause); in SQLTransactionRollbackException()
168 … SQLTransactionRollbackException(String reason, String SQLState, int vendorCode, Throwable cause) { in SQLTransactionRollbackException() argument
169 super(reason, SQLState, vendorCode, cause); in SQLTransactionRollbackException()
DSQLDataException.java122 public SQLDataException(Throwable cause) { in SQLDataException() argument
123 super(cause); in SQLDataException()
137 public SQLDataException(String reason, Throwable cause) { in SQLDataException() argument
138 super(reason, cause); in SQLDataException()
152 public SQLDataException(String reason, String SQLState, Throwable cause) { in SQLDataException() argument
153 super(reason, SQLState, cause); in SQLDataException()
168 public SQLDataException(String reason, String SQLState, int vendorCode, Throwable cause) { in SQLDataException() argument
169 super(reason, SQLState, vendorCode, cause); in SQLDataException()
DSQLIntegrityConstraintViolationException.java120 public SQLIntegrityConstraintViolationException(Throwable cause) { in SQLIntegrityConstraintViolationException() argument
121 super(cause); in SQLIntegrityConstraintViolationException()
136 public SQLIntegrityConstraintViolationException(String reason, Throwable cause) { in SQLIntegrityConstraintViolationException() argument
137 super(reason,cause); in SQLIntegrityConstraintViolationException()
152 … public SQLIntegrityConstraintViolationException(String reason, String SQLState, Throwable cause) { in SQLIntegrityConstraintViolationException() argument
153 super(reason,SQLState, cause); in SQLIntegrityConstraintViolationException()
169 …rityConstraintViolationException(String reason, String SQLState, int vendorCode, Throwable cause) { in SQLIntegrityConstraintViolationException() argument
170 super(reason,SQLState,vendorCode,cause); in SQLIntegrityConstraintViolationException()
DSQLSyntaxErrorException.java119 public SQLSyntaxErrorException(Throwable cause) { in SQLSyntaxErrorException() argument
120 super(cause); in SQLSyntaxErrorException()
135 public SQLSyntaxErrorException(String reason, Throwable cause) { in SQLSyntaxErrorException() argument
136 super(reason, cause); in SQLSyntaxErrorException()
151 public SQLSyntaxErrorException(String reason, String SQLState, Throwable cause) { in SQLSyntaxErrorException() argument
152 super(reason, SQLState, cause); in SQLSyntaxErrorException()
168 … public SQLSyntaxErrorException(String reason, String SQLState, int vendorCode, Throwable cause) { in SQLSyntaxErrorException() argument
169 super(reason, SQLState, vendorCode, cause); in SQLSyntaxErrorException()
DSQLInvalidAuthorizationSpecException.java120 public SQLInvalidAuthorizationSpecException(Throwable cause) { in SQLInvalidAuthorizationSpecException() argument
121 super(cause); in SQLInvalidAuthorizationSpecException()
136 public SQLInvalidAuthorizationSpecException(String reason, Throwable cause) { in SQLInvalidAuthorizationSpecException() argument
137 super(reason,cause); in SQLInvalidAuthorizationSpecException()
152 public SQLInvalidAuthorizationSpecException(String reason, String SQLState, Throwable cause) { in SQLInvalidAuthorizationSpecException() argument
153 super(reason,SQLState,cause); in SQLInvalidAuthorizationSpecException()
169 …nvalidAuthorizationSpecException(String reason, String SQLState, int vendorCode, Throwable cause) { in SQLInvalidAuthorizationSpecException() argument
170 super(reason,SQLState,vendorCode,cause); in SQLInvalidAuthorizationSpecException()
DSQLTimeoutException.java117 public SQLTimeoutException(Throwable cause) { in SQLTimeoutException() argument
118 super(cause); in SQLTimeoutException()
133 public SQLTimeoutException(String reason, Throwable cause) { in SQLTimeoutException() argument
134 super(reason, cause); in SQLTimeoutException()
149 public SQLTimeoutException(String reason, String SQLState, Throwable cause) { in SQLTimeoutException() argument
150 super(reason, SQLState, cause); in SQLTimeoutException()
166 public SQLTimeoutException(String reason, String SQLState, int vendorCode, Throwable cause) { in SQLTimeoutException() argument
167 super(reason, SQLState, vendorCode, cause); in SQLTimeoutException()
DSQLFeatureNotSupportedException.java125 public SQLFeatureNotSupportedException(Throwable cause) { in SQLFeatureNotSupportedException() argument
126 super(cause); in SQLFeatureNotSupportedException()
141 public SQLFeatureNotSupportedException(String reason, Throwable cause) { in SQLFeatureNotSupportedException() argument
142 super(reason,cause); in SQLFeatureNotSupportedException()
157 public SQLFeatureNotSupportedException(String reason, String SQLState, Throwable cause) { in SQLFeatureNotSupportedException() argument
158 super(reason,SQLState,cause); in SQLFeatureNotSupportedException()
174 … SQLFeatureNotSupportedException(String reason, String SQLState, int vendorCode, Throwable cause) { in SQLFeatureNotSupportedException() argument
175 super(reason,SQLState,vendorCode,cause); in SQLFeatureNotSupportedException()
DSQLTransientException.java118 public SQLTransientException(Throwable cause) { in SQLTransientException() argument
119 super(cause); in SQLTransientException()
134 public SQLTransientException(String reason, Throwable cause) { in SQLTransientException() argument
135 super(reason,cause); in SQLTransientException()
150 public SQLTransientException(String reason, String SQLState, Throwable cause) { in SQLTransientException() argument
151 super(reason,SQLState,cause); in SQLTransientException()
167 public SQLTransientException(String reason, String SQLState, int vendorCode, Throwable cause) { in SQLTransientException() argument
168 super(reason,SQLState,vendorCode,cause); in SQLTransientException()
DSQLRecoverableException.java121 public SQLRecoverableException(Throwable cause) { in SQLRecoverableException() argument
122 super(cause); in SQLRecoverableException()
137 public SQLRecoverableException(String reason, Throwable cause) { in SQLRecoverableException() argument
138 super(reason, cause); in SQLRecoverableException()
153 public SQLRecoverableException(String reason, String SQLState, Throwable cause) { in SQLRecoverableException() argument
154 super(reason, SQLState, cause); in SQLRecoverableException()
170 … public SQLRecoverableException(String reason, String SQLState, int vendorCode, Throwable cause) { in SQLRecoverableException() argument
171 super(reason, SQLState, vendorCode, cause); in SQLRecoverableException()
DSQLTransientConnectionException.java120 public SQLTransientConnectionException(Throwable cause) { in SQLTransientConnectionException() argument
121 super(cause); in SQLTransientConnectionException()
136 public SQLTransientConnectionException(String reason, Throwable cause) { in SQLTransientConnectionException() argument
137 super(reason,cause); in SQLTransientConnectionException()
152 public SQLTransientConnectionException(String reason, String SQLState, Throwable cause) { in SQLTransientConnectionException() argument
153 super(reason,SQLState,cause); in SQLTransientConnectionException()
169 … SQLTransientConnectionException(String reason, String SQLState, int vendorCode, Throwable cause) { in SQLTransientConnectionException() argument
170 super(reason,SQLState,vendorCode,cause); in SQLTransientConnectionException()
DSQLNonTransientConnectionException.java121 public SQLNonTransientConnectionException(Throwable cause) { in SQLNonTransientConnectionException() argument
122 super(cause); in SQLNonTransientConnectionException()
137 public SQLNonTransientConnectionException(String reason, Throwable cause) { in SQLNonTransientConnectionException() argument
138 super(reason,cause); in SQLNonTransientConnectionException()
153 public SQLNonTransientConnectionException(String reason, String SQLState, Throwable cause) { in SQLNonTransientConnectionException() argument
154 super(reason,SQLState,cause); in SQLNonTransientConnectionException()
170 …LNonTransientConnectionException(String reason, String SQLState, int vendorCode, Throwable cause) { in SQLNonTransientConnectionException() argument
171 super(reason,SQLState,vendorCode,cause); in SQLNonTransientConnectionException()
DSQLNonTransientException.java120 public SQLNonTransientException(Throwable cause) { in SQLNonTransientException() argument
121 super(cause); in SQLNonTransientException()
136 public SQLNonTransientException(String reason, Throwable cause) { in SQLNonTransientException() argument
137 super(reason,cause); in SQLNonTransientException()
153 public SQLNonTransientException(String reason, String SQLState, Throwable cause) { in SQLNonTransientException() argument
154 super(reason,SQLState,cause); in SQLNonTransientException()
170 … public SQLNonTransientException(String reason, String SQLState, int vendorCode, Throwable cause) { in SQLNonTransientException() argument
171 super(reason,SQLState,vendorCode,cause); in SQLNonTransientException()
DSQLException.java164 public SQLException(Throwable cause) { in SQLException() argument
165 super(cause); in SQLException()
186 public SQLException(String reason, Throwable cause) { in SQLException() argument
187 super(reason,cause); in SQLException()
209 public SQLException(String reason, String sqlState, Throwable cause) { in SQLException() argument
210 super(reason,cause); in SQLException()
235 public SQLException(String reason, String sqlState, int vendorCode, Throwable cause) { in SQLException() argument
236 super(reason,cause); in SQLException()
320 Throwable cause = firstException.getCause(); in iterator() local
323 if(firstException != null || nextException != null || cause != null) in iterator()
[all …]
DSQLClientInfoException.java119 Throwable cause) { in SQLClientInfoException() argument
121 super(cause != null?cause.toString():null); in SQLClientInfoException()
122 initCause(cause); in SQLClientInfoException()
176 Throwable cause) { in SQLClientInfoException() argument
179 initCause(cause); in SQLClientInfoException()
234 Throwable cause) { in SQLClientInfoException() argument
237 initCause(cause); in SQLClientInfoException()
296 Throwable cause) { in SQLClientInfoException() argument
299 initCause(cause); in SQLClientInfoException()
/libcore/luni/src/main/java/javax/xml/xpath/
DXPathException.java33 private final Throwable cause; field in XPathException
54 this.cause = null; in XPathException()
66 public XPathException(Throwable cause) { in XPathException() argument
67 super(cause == null ? null : cause.toString()); in XPathException()
68 this.cause = cause; in XPathException()
69 if (cause == null) { in XPathException()
75 return cause; in getCause()
/libcore/luni/src/main/java/javax/xml/datatype/
DDatatypeConfigurationException.java74 public DatatypeConfigurationException(String message, Throwable cause) { in DatatypeConfigurationException() argument
76 initCauseByReflection(cause); in DatatypeConfigurationException()
86 public DatatypeConfigurationException(Throwable cause) { in DatatypeConfigurationException() argument
87 super(cause == null ? null : cause.toString()); in DatatypeConfigurationException()
88 initCauseByReflection(cause); in DatatypeConfigurationException()
141 private void initCauseByReflection(Throwable cause) { in initCauseByReflection() argument
142 causeOnJDK13OrBelow = cause; in initCauseByReflection()
145 m.invoke(this, new Object[] {cause}); in initCauseByReflection()
157 Throwable cause = (Throwable) m1.invoke(this, new Object[] {}); in readObject() local
159 causeOnJDK13OrBelow = cause; in readObject()
[all …]
/libcore/luni/src/test/java/libcore/android/system/
DErrnoExceptionTest.java47 Throwable cause = new Throwable("cause msg"); in check_messageErrnoAndCause() local
50 assertMessageErrnoAndCause(msg, errno, cause, new ErrnoException(nameOrNull, errno, cause)); in check_messageErrnoAndCause()
53 private static void assertMessageErrnoAndCause(String message, int errno, Throwable cause, in assertMessageErrnoAndCause() argument
57 assertEquals(cause, e.getCause()); in assertMessageErrnoAndCause()
70 private void check_rethrow(ErrnoException cause) { in check_rethrow() argument
72 cause.rethrowAsIOException(); in check_rethrow()
75 assertEquals(cause.getMessage(), e.getMessage()); in check_rethrow()
76 assertEquals(cause, e.getCause()); in check_rethrow()
81 cause.rethrowAsSocketException(); in check_rethrow()
84 assertEquals(cause.getMessage(), e.getMessage()); in check_rethrow()
[all …]
/libcore/libart/src/main/java/dalvik/system/
DTransactionAbortError.java48 private TransactionAbortError(String message, Throwable cause) { in TransactionAbortError() argument
50 initCause(cause); in TransactionAbortError()
58 private TransactionAbortError(Throwable cause) { in TransactionAbortError() argument
59 this(cause == null ? null : cause.toString(), cause); in TransactionAbortError()
/libcore/ojluni/src/main/java/java/security/cert/
DCertPathValidatorException.java115 public CertPathValidatorException(Throwable cause) { in CertPathValidatorException() argument
116 this((cause == null ? null : cause.toString()), cause); in CertPathValidatorException()
128 public CertPathValidatorException(String msg, Throwable cause) { in CertPathValidatorException() argument
129 this(msg, cause, null, -1); in CertPathValidatorException()
149 public CertPathValidatorException(String msg, Throwable cause, in CertPathValidatorException() argument
151 this(msg, cause, certPath, index, BasicReason.UNSPECIFIED); in CertPathValidatorException()
175 public CertPathValidatorException(String msg, Throwable cause, in CertPathValidatorException() argument
177 super(msg, cause); in CertPathValidatorException()
/libcore/ojluni/src/main/java/java/lang/
DBootstrapMethodError.java65 public BootstrapMethodError(String s, Throwable cause) { in BootstrapMethodError() argument
66 super(s, cause); in BootstrapMethodError()
75 public BootstrapMethodError(Throwable cause) { in BootstrapMethodError() argument
77 super(cause == null ? null : cause.toString()); in BootstrapMethodError()
78 initCause(cause); in BootstrapMethodError()
DError.java87 public Error(String message, Throwable cause) { in Error() argument
88 super(message, cause); in Error()
104 public Error(Throwable cause) { in Error() argument
105 super(cause); in Error()
123 protected Error(String message, Throwable cause, in Error() argument
126 super(message, cause, enableSuppression, writableStackTrace); in Error()
DRuntimeException.java79 public RuntimeException(String message, Throwable cause) { in RuntimeException() argument
80 super(message, cause); in RuntimeException()
95 public RuntimeException(Throwable cause) { in RuntimeException() argument
96 super(cause); in RuntimeException()
114 protected RuntimeException(String message, Throwable cause, in RuntimeException() argument
117 super(message, cause, enableSuppression, writableStackTrace); in RuntimeException()
DException.java83 public Exception(String message, Throwable cause) { in Exception() argument
84 super(message, cause); in Exception()
101 public Exception(Throwable cause) { in Exception() argument
102 super(cause); in Exception()
119 protected Exception(String message, Throwable cause, in Exception() argument
122 super(message, cause, enableSuppression, writableStackTrace); in Exception()
/libcore/ojluni/src/main/java/javax/net/ssl/
DSSLException.java67 public SSLException(String message, Throwable cause) { in SSLException() argument
69 initCause(cause); in SSLException()
84 public SSLException(Throwable cause) { in SSLException() argument
85 super(cause == null ? null : cause.toString()); in SSLException()
86 initCause(cause); in SSLException()

123456