Home
last modified time | relevance | path

Searched refs:reason (Results 1 – 25 of 27) sorted by relevance

12

/libcore/luni/src/main/java/java/sql/
DSQLTransientException.java39 public SQLTransientException(String reason) { in SQLTransientException() argument
40 super(reason, null, 0); in SQLTransientException()
53 public SQLTransientException(String reason, String sqlState) { in SQLTransientException() argument
54 super(reason, sqlState, 0); in SQLTransientException()
69 public SQLTransientException(String reason, String sqlState, int vendorCode) { in SQLTransientException() argument
70 super(reason, sqlState, vendorCode); in SQLTransientException()
97 public SQLTransientException(String reason, Throwable cause) { in SQLTransientException() argument
98 super(reason, cause); in SQLTransientException()
115 public SQLTransientException(String reason, String sqlState, Throwable cause) { in SQLTransientException() argument
116 super(reason, sqlState, cause); in SQLTransientException()
[all …]
DSQLNonTransientConnectionException.java46 public SQLNonTransientConnectionException(String reason) { in SQLNonTransientConnectionException() argument
47 super(reason, null, 0); in SQLNonTransientConnectionException()
60 public SQLNonTransientConnectionException(String reason, String sqlState) { in SQLNonTransientConnectionException() argument
61 super(reason, sqlState, 0); in SQLNonTransientConnectionException()
77 public SQLNonTransientConnectionException(String reason, String sqlState, in SQLNonTransientConnectionException() argument
79 super(reason, sqlState, vendorCode); in SQLNonTransientConnectionException()
107 public SQLNonTransientConnectionException(String reason, Throwable cause) { in SQLNonTransientConnectionException() argument
108 super(reason, cause); in SQLNonTransientConnectionException()
125 public SQLNonTransientConnectionException(String reason, String sqlState, in SQLNonTransientConnectionException() argument
127 super(reason, sqlState, cause); in SQLNonTransientConnectionException()
[all …]
DSQLRecoverableException.java39 public SQLRecoverableException(String reason) { in SQLRecoverableException() argument
40 super(reason, null, 0); in SQLRecoverableException()
53 public SQLRecoverableException(String reason, String sqlState) { in SQLRecoverableException() argument
54 super(reason, sqlState, 0); in SQLRecoverableException()
69 public SQLRecoverableException(String reason, String sqlState, in SQLRecoverableException() argument
71 super(reason, sqlState, vendorCode); in SQLRecoverableException()
98 public SQLRecoverableException(String reason, Throwable cause) { in SQLRecoverableException() argument
99 super(reason, cause); in SQLRecoverableException()
116 public SQLRecoverableException(String reason, String sqlState, in SQLRecoverableException() argument
118 super(reason, sqlState, cause); in SQLRecoverableException()
[all …]
DSQLInvalidAuthorizationSpecException.java46 public SQLInvalidAuthorizationSpecException(String reason) { in SQLInvalidAuthorizationSpecException() argument
47 super(reason, null, 0); in SQLInvalidAuthorizationSpecException()
60 public SQLInvalidAuthorizationSpecException(String reason, String sqlState) { in SQLInvalidAuthorizationSpecException() argument
61 super(reason, sqlState, 0); in SQLInvalidAuthorizationSpecException()
77 public SQLInvalidAuthorizationSpecException(String reason, String sqlState, in SQLInvalidAuthorizationSpecException() argument
79 super(reason, sqlState, vendorCode); in SQLInvalidAuthorizationSpecException()
107 public SQLInvalidAuthorizationSpecException(String reason, Throwable cause) { in SQLInvalidAuthorizationSpecException() argument
108 super(reason, cause); in SQLInvalidAuthorizationSpecException()
125 public SQLInvalidAuthorizationSpecException(String reason, String sqlState, in SQLInvalidAuthorizationSpecException() argument
127 super(reason, sqlState, cause); in SQLInvalidAuthorizationSpecException()
[all …]
DSQLNonTransientException.java39 public SQLNonTransientException(String reason) { in SQLNonTransientException() argument
40 super(reason, null, 0); in SQLNonTransientException()
53 public SQLNonTransientException(String reason, String sqlState) { in SQLNonTransientException() argument
54 super(reason, sqlState, 0); in SQLNonTransientException()
69 public SQLNonTransientException(String reason, String sqlState, in SQLNonTransientException() argument
71 super(reason, sqlState, vendorCode); in SQLNonTransientException()
98 public SQLNonTransientException(String reason, Throwable cause) { in SQLNonTransientException() argument
99 super(reason, cause); in SQLNonTransientException()
116 public SQLNonTransientException(String reason, String sqlState, in SQLNonTransientException() argument
118 super(reason, sqlState, cause); in SQLNonTransientException()
[all …]
DSQLTimeoutException.java39 public SQLTimeoutException(String reason) { in SQLTimeoutException() argument
40 super(reason, null, 0); in SQLTimeoutException()
53 public SQLTimeoutException(String reason, String sqlState) { in SQLTimeoutException() argument
54 super(reason, sqlState, 0); in SQLTimeoutException()
69 public SQLTimeoutException(String reason, String sqlState, int vendorCode) { in SQLTimeoutException() argument
70 super(reason, sqlState, vendorCode); in SQLTimeoutException()
97 public SQLTimeoutException(String reason, Throwable cause) { in SQLTimeoutException() argument
98 super(reason, cause); in SQLTimeoutException()
115 public SQLTimeoutException(String reason, String sqlState, Throwable cause) { in SQLTimeoutException() argument
116 super(reason, sqlState, cause); in SQLTimeoutException()
[all …]
DSQLTransientConnectionException.java40 public SQLTransientConnectionException(String reason) { in SQLTransientConnectionException() argument
41 super(reason, null, 0); in SQLTransientConnectionException()
54 public SQLTransientConnectionException(String reason, String sqlState) { in SQLTransientConnectionException() argument
55 super(reason, sqlState, 0); in SQLTransientConnectionException()
70 public SQLTransientConnectionException(String reason, String sqlState, in SQLTransientConnectionException() argument
72 super(reason, sqlState, vendorCode); in SQLTransientConnectionException()
99 public SQLTransientConnectionException(String reason, Throwable cause) { in SQLTransientConnectionException() argument
100 super(reason, cause); in SQLTransientConnectionException()
117 public SQLTransientConnectionException(String reason, String sqlState, in SQLTransientConnectionException() argument
119 super(reason, sqlState, cause); in SQLTransientConnectionException()
[all …]
DSQLIntegrityConstraintViolationException.java46 public SQLIntegrityConstraintViolationException(String reason) { in SQLIntegrityConstraintViolationException() argument
47 super(reason, null, 0); in SQLIntegrityConstraintViolationException()
60 public SQLIntegrityConstraintViolationException(String reason, in SQLIntegrityConstraintViolationException() argument
62 super(reason, sqlState, 0); in SQLIntegrityConstraintViolationException()
78 public SQLIntegrityConstraintViolationException(String reason, in SQLIntegrityConstraintViolationException() argument
80 super(reason, sqlState, vendorCode); in SQLIntegrityConstraintViolationException()
108 public SQLIntegrityConstraintViolationException(String reason, in SQLIntegrityConstraintViolationException() argument
110 super(reason, cause); in SQLIntegrityConstraintViolationException()
127 public SQLIntegrityConstraintViolationException(String reason, in SQLIntegrityConstraintViolationException() argument
129 super(reason, sqlState, cause); in SQLIntegrityConstraintViolationException()
[all …]
DSQLFeatureNotSupportedException.java44 public SQLFeatureNotSupportedException(String reason) { in SQLFeatureNotSupportedException() argument
45 super(reason, null, 0); in SQLFeatureNotSupportedException()
58 public SQLFeatureNotSupportedException(String reason, String sqlState) { in SQLFeatureNotSupportedException() argument
59 super(reason, sqlState, 0); in SQLFeatureNotSupportedException()
74 public SQLFeatureNotSupportedException(String reason, String sqlState, in SQLFeatureNotSupportedException() argument
76 super(reason, sqlState, vendorCode); in SQLFeatureNotSupportedException()
103 public SQLFeatureNotSupportedException(String reason, Throwable cause) { in SQLFeatureNotSupportedException() argument
104 super(reason, cause); in SQLFeatureNotSupportedException()
121 public SQLFeatureNotSupportedException(String reason, String sqlState, in SQLFeatureNotSupportedException() argument
123 super(reason, sqlState, cause); in SQLFeatureNotSupportedException()
[all …]
DSQLDataException.java44 public SQLDataException(String reason) { in SQLDataException() argument
45 super(reason, null, 0); in SQLDataException()
58 public SQLDataException(String reason, String sqlState) { in SQLDataException() argument
59 super(reason, sqlState, 0); in SQLDataException()
74 public SQLDataException(String reason, String sqlState, int vendorCode) { in SQLDataException() argument
75 super(reason, sqlState, vendorCode); in SQLDataException()
102 public SQLDataException(String reason, Throwable cause) { in SQLDataException() argument
103 super(reason, cause); in SQLDataException()
120 public SQLDataException(String reason, String sqlState, Throwable cause) { in SQLDataException() argument
121 super(reason, sqlState, cause); in SQLDataException()
[all …]
DSQLTransactionRollbackException.java40 public SQLTransactionRollbackException(String reason) { in SQLTransactionRollbackException() argument
41 super(reason, null, 0); in SQLTransactionRollbackException()
54 public SQLTransactionRollbackException(String reason, String sqlState) { in SQLTransactionRollbackException() argument
55 super(reason, sqlState, 0); in SQLTransactionRollbackException()
70 public SQLTransactionRollbackException(String reason, String sqlState, in SQLTransactionRollbackException() argument
72 super(reason, sqlState, vendorCode); in SQLTransactionRollbackException()
99 public SQLTransactionRollbackException(String reason, Throwable cause) { in SQLTransactionRollbackException() argument
100 super(reason, cause); in SQLTransactionRollbackException()
117 public SQLTransactionRollbackException(String reason, String sqlState, in SQLTransactionRollbackException() argument
119 super(reason, sqlState, cause); in SQLTransactionRollbackException()
[all …]
DSQLSyntaxErrorException.java39 public SQLSyntaxErrorException(String reason) { in SQLSyntaxErrorException() argument
40 super(reason, null, 0); in SQLSyntaxErrorException()
53 public SQLSyntaxErrorException(String reason, String sqlState) { in SQLSyntaxErrorException() argument
54 super(reason, sqlState, 0); in SQLSyntaxErrorException()
69 public SQLSyntaxErrorException(String reason, String sqlState, in SQLSyntaxErrorException() argument
71 super(reason, sqlState, vendorCode); in SQLSyntaxErrorException()
98 public SQLSyntaxErrorException(String reason, Throwable cause) { in SQLSyntaxErrorException() argument
99 super(reason, cause); in SQLSyntaxErrorException()
116 public SQLSyntaxErrorException(String reason, String sqlState, in SQLSyntaxErrorException() argument
118 super(reason, sqlState, cause); in SQLSyntaxErrorException()
[all …]
DBatchUpdateException.java92 public BatchUpdateException(String reason, int[] updateCounts, in BatchUpdateException() argument
94 super(reason, cause); in BatchUpdateException()
108 public BatchUpdateException(String reason, String SQLState, in BatchUpdateException() argument
110 super(reason, SQLState, cause); in BatchUpdateException()
124 public BatchUpdateException(String reason, String SQLState, int vendorCode, in BatchUpdateException() argument
126 super(reason, SQLState, vendorCode, cause); in BatchUpdateException()
157 public BatchUpdateException(String reason, int[] updateCounts) { in BatchUpdateException() argument
158 super(reason); in BatchUpdateException()
177 public BatchUpdateException(String reason, String SQLState, in BatchUpdateException() argument
179 super(reason, SQLState); in BatchUpdateException()
[all …]
DSQLClientInfoException.java84 public SQLClientInfoException(String reason, in SQLClientInfoException() argument
86 super(reason); in SQLClientInfoException()
105 public SQLClientInfoException(String reason, in SQLClientInfoException() argument
107 super(reason, cause); in SQLClientInfoException()
128 public SQLClientInfoException(String reason, String sqlState, in SQLClientInfoException() argument
130 super(reason, sqlState, vendorCode); in SQLClientInfoException()
154 public SQLClientInfoException(String reason, String sqlState, in SQLClientInfoException() argument
157 super(reason, sqlState, vendorCode, cause); in SQLClientInfoException()
174 public SQLClientInfoException(String reason, String sqlState, in SQLClientInfoException() argument
176 super(reason, sqlState); in SQLClientInfoException()
[all …]
DSQLWarning.java98 public SQLWarning(String reason, Throwable cause) { in SQLWarning() argument
99 super(reason, cause); in SQLWarning()
109 public SQLWarning(String reason, String SQLState, Throwable cause) { in SQLWarning() argument
110 super(reason, SQLState, cause); in SQLWarning()
120 public SQLWarning(String reason, String SQLState, int vendorCode, in SQLWarning() argument
122 super(reason, SQLState, vendorCode, cause); in SQLWarning()
/libcore/luni/src/main/java/java/net/
DURISyntaxException.java49 public URISyntaxException(String input, String reason, int index) { in URISyntaxException() argument
50 super(reason); in URISyntaxException()
54 } else if (reason == null) { in URISyntaxException()
78 public URISyntaxException(String input, String reason) { in URISyntaxException() argument
79 super(reason); in URISyntaxException()
83 } else if (reason == null) { in URISyntaxException()
129 String reason = super.getMessage(); in getMessage() local
131 return reason + " at index " + index + ": " + input; in getMessage()
133 return reason + ": " + input; in getMessage()
/libcore/luni/src/main/java/javax/net/ssl/
DSSLHandshakeException.java31 public SSLHandshakeException(String reason) { in SSLHandshakeException() argument
32 super(reason); in SSLHandshakeException()
47 public SSLHandshakeException(String reason, Throwable cause) { in SSLHandshakeException() argument
48 super(reason, cause); in SSLHandshakeException()
DSSLProtocolException.java34 public SSLProtocolException(String reason) { in SSLProtocolException() argument
35 super(reason); in SSLProtocolException()
DSSLPeerUnverifiedException.java35 public SSLPeerUnverifiedException(String reason) { in SSLPeerUnverifiedException() argument
36 super(reason); in SSLPeerUnverifiedException()
DSSLKeyException.java33 public SSLKeyException(String reason) { in SSLKeyException() argument
34 super(reason); in SSLKeyException()
DSSLException.java34 public SSLException(String reason) { in SSLException() argument
35 super(reason); in SSLException()
/libcore/luni/src/main/java/java/security/cert/
DCertificateRevokedException.java42 private final CRLReason reason; field in CertificateRevokedException
55 public CertificateRevokedException(Date revocationDate, CRLReason reason, in CertificateRevokedException() argument
58 this.reason = reason; in CertificateRevokedException()
107 if (reason != null) { in getMessage()
108 sb.append(" due to ").append(reason); in getMessage()
124 return reason; in getRevocationReason()
/libcore/luni/src/main/java/java/math/
DMathContext.java143 private IllegalArgumentException invalidMathContext(String reason, String s) { in invalidMathContext() argument
144 throw new IllegalArgumentException(reason + ": " + s); in invalidMathContext()
/libcore/luni/src/main/native/
Dlibcore_icu_NativeConverter.cpp344 const UChar* codeUnits, int32_t length, UChar32 codePoint, UConverterCallbackReason reason, in CHARSET_ENCODER_CALLBACK() argument
350 switch(reason) { in CHARSET_ENCODER_CALLBACK()
352 ctx->onUnmappableInput(ctx, args, codeUnits, length, codePoint, reason, status); in CHARSET_ENCODER_CALLBACK()
356 ctx->onMalformedInput(ctx, args, codeUnits, length, codePoint, reason, status); in CHARSET_ENCODER_CALLBACK()
449 UConverterCallbackReason reason, UErrorCode* status) { in CHARSET_DECODER_CALLBACK() argument
454 switch(reason) { in CHARSET_DECODER_CALLBACK()
456 ctx->onUnmappableInput(ctx, args, codeUnits, length, reason, status); in CHARSET_DECODER_CALLBACK()
460 ctx->onMalformedInput(ctx, args, codeUnits, length, reason, status); in CHARSET_DECODER_CALLBACK()
Djava_math_NativeBN.cpp61 int reason = ERR_GET_REASON(error); in throwExceptionIfNecessary() local
62 if (reason == BN_R_DIV_BY_ZERO) { in throwExceptionIfNecessary()
64 } else if (reason == BN_R_NO_INVERSE) { in throwExceptionIfNecessary()
66 } else if (reason == ERR_R_MALLOC_FAILURE) { in throwExceptionIfNecessary()

12