Searched refs:reason (Results 1 - 25 of 29) sorted by relevance

12

/libcore/crypto/src/main/java/org/conscrypt/
H A DAlertException.java30 private final SSLException reason; field in class:AlertException
38 * @param reason The SSLException to be thrown to application side after alert processing
42 protected AlertException(byte description, SSLException reason) { argument
43 super(reason);
44 this.reason = reason;
49 * Returns the reason of alert. This reason should be rethrown after alert processing.
51 * @return the reason of alert.
54 return reason;
[all...]
H A DMessage.java55 * @param reason
57 protected void fatalAlert(byte description, String reason) { argument
58 throw new AlertException(description, new SSLHandshakeException(reason));
64 * @param reason
67 protected void fatalAlert(byte description, String reason, Throwable cause) { argument
68 throw new AlertException(description, new SSLException(reason, cause));
/libcore/luni/src/main/java/java/sql/
H A DSQLDataException.java38 * reason string, the SQLState string is set to null and the Error Code is
41 * @param reason
44 public SQLDataException(String reason) { argument
45 super(reason, null, 0);
50 * reason string, the SQLState string is set to the given SQLState string
53 * @param reason
58 public SQLDataException(String reason, String sqlState) { argument
59 super(reason, sqlState, 0);
64 * reason string, the SQLState string is set to the given SQLState string
67 * @param reason
74 SQLDataException(String reason, String sqlState, int vendorCode) argument
102 SQLDataException(String reason, Throwable cause) argument
120 SQLDataException(String reason, String sqlState, Throwable cause) argument
140 SQLDataException(String reason, String sqlState, int vendorCode, Throwable cause) argument
[all...]
H A DSQLFeatureNotSupportedException.java38 * set to the given reason string, the SQLState string is set to null and
41 * @param reason
44 public SQLFeatureNotSupportedException(String reason) { argument
45 super(reason, null, 0);
50 * set to the given reason string, the SQLState string is set to the given
53 * @param reason
58 public SQLFeatureNotSupportedException(String reason, String sqlState) { argument
59 super(reason, sqlState, 0);
64 * set to the given reason string, the SQLState string is set to the given
67 * @param reason
74 SQLFeatureNotSupportedException(String reason, String sqlState, int vendorCode) argument
103 SQLFeatureNotSupportedException(String reason, Throwable cause) argument
121 SQLFeatureNotSupportedException(String reason, String sqlState, Throwable cause) argument
143 SQLFeatureNotSupportedException(String reason, String sqlState, int vendorCode, Throwable cause) argument
[all...]
H A DSQLIntegrityConstraintViolationException.java40 * string is set to the given reason string, the SQLState string is set to
43 * @param reason
46 public SQLIntegrityConstraintViolationException(String reason) { argument
47 super(reason, null, 0);
52 * string is set to the given reason string, the SQLState string is set to
55 * @param reason
60 public SQLIntegrityConstraintViolationException(String reason, argument
62 super(reason, sqlState, 0);
67 * string is set to the given reason string, the SQLState string is set to
71 * @param reason
78 SQLIntegrityConstraintViolationException(String reason, String sqlState, int vendorCode) argument
108 SQLIntegrityConstraintViolationException(String reason, Throwable cause) argument
127 SQLIntegrityConstraintViolationException(String reason, String sqlState, Throwable cause) argument
149 SQLIntegrityConstraintViolationException(String reason, String sqlState, int vendorCode, Throwable cause) argument
[all...]
H A DSQLInvalidAuthorizationSpecException.java40 * is set to the given reason string, the SQLState string is set to null and
43 * @param reason
46 public SQLInvalidAuthorizationSpecException(String reason) { argument
47 super(reason, null, 0);
52 * is set to the given reason string, the SQLState string is set to the
55 * @param reason
60 public SQLInvalidAuthorizationSpecException(String reason, String sqlState) { argument
61 super(reason, sqlState, 0);
66 * is set to the given reason string, the SQLState string is set to the
70 * @param reason
77 SQLInvalidAuthorizationSpecException(String reason, String sqlState, int vendorCode) argument
107 SQLInvalidAuthorizationSpecException(String reason, Throwable cause) argument
125 SQLInvalidAuthorizationSpecException(String reason, String sqlState, Throwable cause) argument
147 SQLInvalidAuthorizationSpecException(String reason, String sqlState, int vendorCode, Throwable cause) argument
[all...]
H A DSQLNonTransientConnectionException.java40 * is set to the given reason string, the SQLState string is set to null and
43 * @param reason
46 public SQLNonTransientConnectionException(String reason) { argument
47 super(reason, null, 0);
52 * is set to the given reason string, the SQLState string is set to the
55 * @param reason
60 public SQLNonTransientConnectionException(String reason, String sqlState) { argument
61 super(reason, sqlState, 0);
66 * is set to the given reason string, the SQLState string is set to the
70 * @param reason
77 SQLNonTransientConnectionException(String reason, String sqlState, int vendorCode) argument
107 SQLNonTransientConnectionException(String reason, Throwable cause) argument
125 SQLNonTransientConnectionException(String reason, String sqlState, Throwable cause) argument
147 SQLNonTransientConnectionException(String reason, String sqlState, int vendorCode, Throwable cause) argument
[all...]
H A DSQLNonTransientException.java33 * the given reason string, the SQLState string is set to null and the Error
36 * @param reason
39 public SQLNonTransientException(String reason) { argument
40 super(reason, null, 0);
45 * the given reason string, the SQLState string is set to the given SQLState
48 * @param reason
53 public SQLNonTransientException(String reason, String sqlState) { argument
54 super(reason, sqlState, 0);
59 * the given reason string, the SQLState string is set to the given SQLState
62 * @param reason
69 SQLNonTransientException(String reason, String sqlState, int vendorCode) argument
98 SQLNonTransientException(String reason, Throwable cause) argument
116 SQLNonTransientException(String reason, String sqlState, Throwable cause) argument
137 SQLNonTransientException(String reason, String sqlState, int vendorCode, Throwable cause) argument
[all...]
H A DSQLRecoverableException.java33 * the given reason string, the SQLState string is set to null and the Error
36 * @param reason
39 public SQLRecoverableException(String reason) { argument
40 super(reason, null, 0);
45 * the given reason string, the SQLState string is set to the given SQLState
48 * @param reason
53 public SQLRecoverableException(String reason, String sqlState) { argument
54 super(reason, sqlState, 0);
59 * the given reason string, the SQLState string is set to the given SQLState
62 * @param reason
69 SQLRecoverableException(String reason, String sqlState, int vendorCode) argument
98 SQLRecoverableException(String reason, Throwable cause) argument
116 SQLRecoverableException(String reason, String sqlState, Throwable cause) argument
137 SQLRecoverableException(String reason, String sqlState, int vendorCode, Throwable cause) argument
[all...]
H A DSQLSyntaxErrorException.java33 * the given reason string, the SQLState string is set to null and the Error
36 * @param reason
39 public SQLSyntaxErrorException(String reason) { argument
40 super(reason, null, 0);
45 * the given reason string, the SQLState string is set to the given SQLState
48 * @param reason
53 public SQLSyntaxErrorException(String reason, String sqlState) { argument
54 super(reason, sqlState, 0);
59 * the given reason string, the SQLState string is set to the given SQLState
62 * @param reason
69 SQLSyntaxErrorException(String reason, String sqlState, int vendorCode) argument
98 SQLSyntaxErrorException(String reason, Throwable cause) argument
116 SQLSyntaxErrorException(String reason, String sqlState, Throwable cause) argument
137 SQLSyntaxErrorException(String reason, String sqlState, int vendorCode, Throwable cause) argument
[all...]
H A DSQLTimeoutException.java33 * given reason string, the SQLState string is set to null and the Error
36 * @param reason
39 public SQLTimeoutException(String reason) { argument
40 super(reason, null, 0);
45 * given reason string, the SQLState string is set to the given SQLState
48 * @param reason
53 public SQLTimeoutException(String reason, String sqlState) { argument
54 super(reason, sqlState, 0);
59 * given reason string, the SQLState string is set to the given SQLState
62 * @param reason
69 SQLTimeoutException(String reason, String sqlState, int vendorCode) argument
97 SQLTimeoutException(String reason, Throwable cause) argument
115 SQLTimeoutException(String reason, String sqlState, Throwable cause) argument
135 SQLTimeoutException(String reason, String sqlState, int vendorCode, Throwable cause) argument
[all...]
H A DSQLTransactionRollbackException.java34 * set to the given reason string, the SQLState string is set to null and
37 * @param reason
40 public SQLTransactionRollbackException(String reason) { argument
41 super(reason, null, 0);
46 * set to the given reason string, the SQLState string is set to the given
49 * @param reason
54 public SQLTransactionRollbackException(String reason, String sqlState) { argument
55 super(reason, sqlState, 0);
60 * set to the given reason string, the SQLState string is set to the given
63 * @param reason
70 SQLTransactionRollbackException(String reason, String sqlState, int vendorCode) argument
99 SQLTransactionRollbackException(String reason, Throwable cause) argument
117 SQLTransactionRollbackException(String reason, String sqlState, Throwable cause) argument
139 SQLTransactionRollbackException(String reason, String sqlState, int vendorCode, Throwable cause) argument
[all...]
H A DSQLTransientConnectionException.java34 * set to the given reason string, the SQLState string is set to null and
37 * @param reason
40 public SQLTransientConnectionException(String reason) { argument
41 super(reason, null, 0);
46 * set to the given reason string, the SQLState string is set to the given
49 * @param reason
54 public SQLTransientConnectionException(String reason, String sqlState) { argument
55 super(reason, sqlState, 0);
60 * set to the given reason string, the SQLState string is set to the given
63 * @param reason
70 SQLTransientConnectionException(String reason, String sqlState, int vendorCode) argument
99 SQLTransientConnectionException(String reason, Throwable cause) argument
117 SQLTransientConnectionException(String reason, String sqlState, Throwable cause) argument
139 SQLTransientConnectionException(String reason, String sqlState, int vendorCode, Throwable cause) argument
[all...]
H A DSQLTransientException.java33 * given reason string, the SQLState string is set to null and the Error
36 * @param reason
39 public SQLTransientException(String reason) { argument
40 super(reason, null, 0);
45 * given reason string, the SQLState string is set to the given SQLState
48 * @param reason
53 public SQLTransientException(String reason, String sqlState) { argument
54 super(reason, sqlState, 0);
59 * given reason string, the SQLState string is set to the given SQLState
62 * @param reason
69 SQLTransientException(String reason, String sqlState, int vendorCode) argument
97 SQLTransientException(String reason, Throwable cause) argument
115 SQLTransientException(String reason, String sqlState, Throwable cause) argument
135 SQLTransientException(String reason, String sqlState, int vendorCode, Throwable cause) argument
[all...]
H A DBatchUpdateException.java49 * <i>reason</i>, <i>SQLState</i>, and <i>update counts</i> set to {@code
56 * Creates an BatchUpdateException object. The reason is set to
60 * @param cause the Throwable object for the underlying reason this SQLException
74 * @param cause the Throwable object for the underlying reason this SQLException
88 * @param cause the Throwable object for the underlying reason this SQLException
92 public BatchUpdateException(String reason, int[] updateCounts, argument
94 super(reason, cause);
104 * @param cause the Throwable object for the underlying reason this SQLException
108 public BatchUpdateException(String reason, String SQLState, argument
110 super(reason, SQLStat
124 BatchUpdateException(String reason, String SQLState, int vendorCode, int[] updateCounts, Throwable cause) argument
157 BatchUpdateException(String reason, int[] updateCounts) argument
177 BatchUpdateException(String reason, String SQLState, int[] updateCounts) argument
199 BatchUpdateException(String reason, String SQLState, int vendorCode, int[] updateCounts) argument
[all...]
H A DSQLClientInfoException.java42 * given reason string, the SQLState string is set to null and the Error
64 * the Throwable object for the underlying reason this
75 * reason, and the Map<String,ClientInfoStatus> object is set to the failed
78 * @param reason
84 public SQLClientInfoException(String reason, argument
86 super(reason);
92 * reason, the cause Throwable object is set to the given cause Throwable
96 * @param reason
102 * the Throwable object for the underlying reason this
105 public SQLClientInfoException(String reason, argument
128 SQLClientInfoException(String reason, String sqlState, int vendorCode, Map<String, ClientInfoStatus> failedProperties) argument
154 SQLClientInfoException(String reason, String sqlState, int vendorCode, Map<String, ClientInfoStatus> failedProperties, Throwable cause) argument
174 SQLClientInfoException(String reason, String sqlState, Map<String, ClientInfoStatus> failedProperties) argument
197 SQLClientInfoException(String reason, String sqlState, Map<String, ClientInfoStatus> failedProperties, Throwable cause) argument
[all...]
H A DSQLWarning.java30 * Creates an {@code SQLWarning} object. The reason string is set to {@code
38 * Creates an {@code SQLWarning} object. The reason string is set to the
39 * given reason string, the {@code SQLState} string is set to {@code null}
43 * the reason why this warning is issued.
50 * Creates an {@code SQLWarning} object. The reason string is set to the
51 * given reason string, the {@code SQLState} string is set to the given
55 * the reason why this warning is issued.
64 * Creates an {@code SQLWarning} object. The reason string is set to the
65 * given reason string, the {@code SQLState} string is set to the given
70 * the reason wh
98 SQLWarning(String reason, Throwable cause) argument
109 SQLWarning(String reason, String SQLState, Throwable cause) argument
120 SQLWarning(String reason, String SQLState, int vendorCode, Throwable cause) argument
[all...]
/libcore/luni/src/main/java/javax/net/ssl/
H A DSSLKeyException.java30 * @param reason
33 public SSLKeyException(String reason) { argument
34 super(reason);
H A DSSLPeerUnverifiedException.java32 * @param reason
35 public SSLPeerUnverifiedException(String reason) { argument
36 super(reason);
H A DSSLProtocolException.java31 * @param reason
34 public SSLProtocolException(String reason) { argument
35 super(reason);
H A DSSLHandshakeException.java31 public SSLHandshakeException(String reason) { argument
32 super(reason);
47 public SSLHandshakeException(String reason, Throwable cause) { argument
48 super(reason, cause);
H A DSSLException.java29 * Creates a new {@code SSLException} with the specified reason.
31 * @param reason
32 * the reason for the exception.
34 public SSLException(String reason) { argument
35 super(reason);
/libcore/luni/src/main/java/java/net/
H A DURISyntaxException.java39 * @param reason
40 * the reason why the exception occurred.
44 * if one of the arguments {@code input} or {@code reason} is
49 public URISyntaxException(String input, String reason, int index) { argument
50 super(reason);
54 } else if (reason == null) {
55 throw new NullPointerException("reason == null");
72 * @param reason
73 * the reason why the exception occurred.
75 * if one of the arguments {@code input} or {@code reason} i
78 URISyntaxException(String input, String reason) argument
[all...]
/libcore/luni/src/main/java/java/math/
H A DMathContext.java143 private IllegalArgumentException invalidMathContext(String reason, String s) { argument
144 throw new IllegalArgumentException(reason + ": " + s);
/libcore/luni/src/main/native/
H A Dlibcore_icu_NativeConverter.cpp342 const UChar* codeUnits, int32_t length, UChar32 codePoint, UConverterCallbackReason reason,
348 switch(reason) {
350 ctx->onUnmappableInput(ctx, args, codeUnits, length, codePoint, reason, status);
354 ctx->onMalformedInput(ctx, args, codeUnits, length, codePoint, reason, status);
447 UConverterCallbackReason reason, UErrorCode* status) {
452 switch(reason) {
454 ctx->onUnmappableInput(ctx, args, codeUnits, length, reason, status);
458 ctx->onMalformedInput(ctx, args, codeUnits, length, reason, status);
341 CHARSET_ENCODER_CALLBACK(const void* rawContext, UConverterFromUnicodeArgs* args, const UChar* codeUnits, int32_t length, UChar32 codePoint, UConverterCallbackReason reason, UErrorCode* status) argument
445 CHARSET_DECODER_CALLBACK(const void* rawContext, UConverterToUnicodeArgs* args, const char* codeUnits, int32_t length, UConverterCallbackReason reason, UErrorCode* status) argument

Completed in 914 milliseconds

12