Home
last modified time | relevance | path

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

123

/libcore/ojluni/src/main/java/java/sql/
DSQLWarning.java60 public SQLWarning(String reason, String SQLState, int vendorCode) { in SQLWarning() argument
61 super(reason, SQLState, vendorCode); in SQLWarning()
62 DriverManager.println("SQLWarning: reason(" + reason + in SQLWarning()
80 public SQLWarning(String reason, String SQLState) { in SQLWarning() argument
81 super(reason, SQLState); in SQLWarning()
82 DriverManager.println("SQLWarning: reason(" + reason + in SQLWarning()
98 public SQLWarning(String reason) { in SQLWarning() argument
99 super(reason); in SQLWarning()
100 DriverManager.println("SQLWarning: reason(" + reason + ")"); in SQLWarning()
147 public SQLWarning(String reason, Throwable cause) { in SQLWarning() argument
[all …]
DSQLIntegrityConstraintViolationException.java68 public SQLIntegrityConstraintViolationException(String reason) { in SQLIntegrityConstraintViolationException() argument
69 super(reason); in SQLIntegrityConstraintViolationException()
85 public SQLIntegrityConstraintViolationException(String reason, String SQLState) { in SQLIntegrityConstraintViolationException() argument
86 super(reason,SQLState); in SQLIntegrityConstraintViolationException()
103 … public SQLIntegrityConstraintViolationException(String reason, String SQLState, int vendorCode) { in SQLIntegrityConstraintViolationException() argument
104 super(reason,SQLState,vendorCode); 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()
[all …]
DSQLTimeoutException.java65 public SQLTimeoutException(String reason) { in SQLTimeoutException() argument
66 super(reason); in SQLTimeoutException()
82 public SQLTimeoutException(String reason, String SQLState) { in SQLTimeoutException() argument
83 super(reason, SQLState); in SQLTimeoutException()
100 public SQLTimeoutException(String reason, String SQLState, int vendorCode) { in SQLTimeoutException() argument
101 super(reason, SQLState, vendorCode); 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()
[all …]
DSQLTransactionRollbackException.java67 public SQLTransactionRollbackException(String reason) { in SQLTransactionRollbackException() argument
68 super(reason); in SQLTransactionRollbackException()
84 public SQLTransactionRollbackException(String reason, String SQLState) { in SQLTransactionRollbackException() argument
85 super(reason, SQLState); in SQLTransactionRollbackException()
102 public SQLTransactionRollbackException(String reason, String SQLState, int vendorCode) { in SQLTransactionRollbackException() argument
103 super(reason, SQLState, vendorCode); 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()
[all …]
DSQLFeatureNotSupportedException.java73 public SQLFeatureNotSupportedException(String reason) { in SQLFeatureNotSupportedException() argument
74 super(reason); in SQLFeatureNotSupportedException()
90 public SQLFeatureNotSupportedException(String reason, String SQLState) { in SQLFeatureNotSupportedException() argument
91 super(reason,SQLState); in SQLFeatureNotSupportedException()
108 public SQLFeatureNotSupportedException(String reason, String SQLState, int vendorCode) { in SQLFeatureNotSupportedException() argument
109 super(reason,SQLState,vendorCode); 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()
[all …]
DSQLDataException.java70 public SQLDataException(String reason) { in SQLDataException() argument
71 super(reason); in SQLDataException()
87 public SQLDataException(String reason, String SQLState) { in SQLDataException() argument
88 super(reason, SQLState); in SQLDataException()
105 public SQLDataException(String reason, String SQLState, int vendorCode) { in SQLDataException() argument
106 super(reason, SQLState, vendorCode); 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()
[all …]
DSQLSyntaxErrorException.java67 public SQLSyntaxErrorException(String reason) { in SQLSyntaxErrorException() argument
68 super(reason); in SQLSyntaxErrorException()
84 public SQLSyntaxErrorException(String reason, String SQLState) { in SQLSyntaxErrorException() argument
85 super(reason, SQLState); in SQLSyntaxErrorException()
102 public SQLSyntaxErrorException(String reason, String SQLState, int vendorCode) { in SQLSyntaxErrorException() argument
103 super(reason, SQLState, vendorCode); 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()
[all …]
DSQLInvalidAuthorizationSpecException.java68 public SQLInvalidAuthorizationSpecException(String reason) { in SQLInvalidAuthorizationSpecException() argument
69 super(reason); in SQLInvalidAuthorizationSpecException()
85 public SQLInvalidAuthorizationSpecException(String reason, String SQLState) { in SQLInvalidAuthorizationSpecException() argument
86 super(reason,SQLState); in SQLInvalidAuthorizationSpecException()
103 … public SQLInvalidAuthorizationSpecException(String reason, String SQLState, int vendorCode) { in SQLInvalidAuthorizationSpecException() argument
104 super(reason,SQLState,vendorCode); 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()
[all …]
DSQLNonTransientConnectionException.java69 public SQLNonTransientConnectionException(String reason) { in SQLNonTransientConnectionException() argument
70 super(reason); in SQLNonTransientConnectionException()
86 public SQLNonTransientConnectionException(String reason, String SQLState) { in SQLNonTransientConnectionException() argument
87 super(reason,SQLState); in SQLNonTransientConnectionException()
104 public SQLNonTransientConnectionException(String reason, String SQLState, int vendorCode) { in SQLNonTransientConnectionException() argument
105 super(reason,SQLState,vendorCode); 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()
[all …]
DSQLNonTransientException.java68 public SQLNonTransientException(String reason) { in SQLNonTransientException() argument
69 super(reason); in SQLNonTransientException()
85 public SQLNonTransientException(String reason, String SQLState) { in SQLNonTransientException() argument
86 super(reason,SQLState); in SQLNonTransientException()
103 public SQLNonTransientException(String reason, String SQLState, int vendorCode) { in SQLNonTransientException() argument
104 super(reason,SQLState,vendorCode); 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()
[all …]
DSQLTransientConnectionException.java68 public SQLTransientConnectionException(String reason) { in SQLTransientConnectionException() argument
69 super(reason); in SQLTransientConnectionException()
85 public SQLTransientConnectionException(String reason, String SQLState) { in SQLTransientConnectionException() argument
86 super(reason,SQLState); in SQLTransientConnectionException()
103 public SQLTransientConnectionException(String reason, String SQLState, int vendorCode) { in SQLTransientConnectionException() argument
104 super(reason,SQLState,vendorCode); 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()
[all …]
DSQLTransientException.java66 public SQLTransientException(String reason) { in SQLTransientException() argument
67 super(reason); in SQLTransientException()
83 public SQLTransientException(String reason, String SQLState) { in SQLTransientException() argument
84 super(reason,SQLState); in SQLTransientException()
101 public SQLTransientException(String reason, String SQLState, int vendorCode) { in SQLTransientException() argument
102 super(reason,SQLState,vendorCode); 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()
[all …]
DSQLRecoverableException.java69 public SQLRecoverableException(String reason) { in SQLRecoverableException() argument
70 super(reason); in SQLRecoverableException()
86 public SQLRecoverableException(String reason, String SQLState) { in SQLRecoverableException() argument
87 super(reason, SQLState); in SQLRecoverableException()
104 public SQLRecoverableException(String reason, String SQLState, int vendorCode) { in SQLRecoverableException() argument
105 super(reason, SQLState, vendorCode); 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()
[all …]
DBatchUpdateException.java80 public BatchUpdateException( String reason, String SQLState, int vendorCode, in BatchUpdateException() argument
82 super(reason, SQLState, vendorCode); in BatchUpdateException()
108 public BatchUpdateException(String reason, String SQLState, in BatchUpdateException() argument
110 this(reason, SQLState, 0, updateCounts); in BatchUpdateException()
135 public BatchUpdateException(String reason, int[] updateCounts) { in BatchUpdateException() argument
136 this(reason, null, 0, updateCounts); in BatchUpdateException()
241 public BatchUpdateException(String reason, int []updateCounts, Throwable cause) { in BatchUpdateException() argument
242 this(reason, null, 0, updateCounts, cause); in BatchUpdateException()
265 public BatchUpdateException(String reason, String SQLState, in BatchUpdateException() argument
267 this(reason, SQLState, 0, updateCounts, cause); in BatchUpdateException()
[all …]
DSQLClientInfoException.java147 public SQLClientInfoException(String reason, in SQLClientInfoException() argument
150 super(reason); in SQLClientInfoException()
174 public SQLClientInfoException(String reason, in SQLClientInfoException() argument
178 super(reason); in SQLClientInfoException()
204 public SQLClientInfoException(String reason, in SQLClientInfoException() argument
208 super(reason, SQLState); in SQLClientInfoException()
231 public SQLClientInfoException(String reason, in SQLClientInfoException() argument
236 super(reason, SQLState); in SQLClientInfoException()
262 public SQLClientInfoException(String reason, in SQLClientInfoException() argument
267 super(reason, SQLState, vendorCode); in SQLClientInfoException()
[all …]
DSQLException.java69 public SQLException(String reason, String SQLState, int vendorCode) { in SQLException() argument
70 super(reason); in SQLException()
95 public SQLException(String reason, String SQLState) { in SQLException() argument
96 super(reason); in SQLException()
118 public SQLException(String reason) { in SQLException() argument
119 super(reason); 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()
[all …]
/libcore/luni/src/test/java/libcore/java/nio/file/
DInvalidPathExceptionTest.java26 String reason = "reason"; in test_Constructor$String$String$Int() local
30 InvalidPathException exception = new InvalidPathException(input, reason, index); in test_Constructor$String$String$Int()
32 assertEquals(reason, exception.getReason()); in test_Constructor$String$String$Int()
37 exception = new InvalidPathException(input, reason, index); in test_Constructor$String$String$Int()
39 assertEquals(reason, exception.getReason()); in test_Constructor$String$String$Int()
45 new InvalidPathException(input, reason, index); in test_Constructor$String$String$Int()
52 new InvalidPathException(null, reason, index); in test_Constructor$String$String$Int()
59 new InvalidPathException(null, reason, index); in test_Constructor$String$String$Int()
79 String reason = "reason"; in test_Constructor$String$String() local
82 InvalidPathException exception = new InvalidPathException(input, reason); in test_Constructor$String$String()
[all …]
/libcore/ojluni/src/main/java/java/security/cert/
DCertPathValidatorException.java81 private Reason reason = BasicReason.UNSPECIFIED; field in CertPathValidatorException
176 CertPath certPath, int index, Reason reason) { in CertPathValidatorException() argument
185 if (reason == null) { in CertPathValidatorException()
190 this.reason = reason; in CertPathValidatorException()
228 return this.reason; in getReason()
234 if (reason == null) { in readObject()
235 reason = BasicReason.UNSPECIFIED; in readObject()
DCertificateRevokedException.java61 private final CRLReason reason; field in CertificateRevokedException
88 public CertificateRevokedException(Date revocationDate, CRLReason reason, in CertificateRevokedException() argument
90 if (revocationDate == null || reason == null || authority == null || in CertificateRevokedException()
95 this.reason = reason; in CertificateRevokedException()
120 return reason; in getRevocationReason()
177 + reason + ", revocation date: " + revocationDate in getMessage()
/libcore/ojluni/src/main/java/java/nio/file/
DInvalidPathException.java57 public InvalidPathException(String input, String reason, int index) { in InvalidPathException() argument
58 super(reason); in InvalidPathException()
59 if ((input == null) || (reason == null)) in InvalidPathException()
77 public InvalidPathException(String input, String reason) { in InvalidPathException() argument
78 this(input, reason, -1); in InvalidPathException()
/libcore/ojluni/src/main/java/java/net/
DURISyntaxException.java61 public URISyntaxException(String input, String reason, int index) { in URISyntaxException() argument
62 super(reason); in URISyntaxException()
63 if ((input == null) || (reason == null)) in URISyntaxException()
81 public URISyntaxException(String input, String reason) { in URISyntaxException() argument
82 this(input, reason, -1); in URISyntaxException()
/libcore/ojluni/src/main/java/java/io/
DInvalidClassException.java57 public InvalidClassException(String reason) { in InvalidClassException() argument
58 super(reason); in InvalidClassException()
67 public InvalidClassException(String cname, String reason) { in InvalidClassException() argument
68 super(reason); in InvalidClassException()
DFileNotFoundException.java76 private FileNotFoundException(String path, String reason) { in FileNotFoundException() argument
77 super(path + ((reason == null) in FileNotFoundException()
79 : " (" + reason + ")")); in FileNotFoundException()
/libcore/ojluni/src/main/java/javax/net/ssl/
DSSLServerSocketFactory.java185 private final Exception reason; field in DefaultSSLServerSocketFactory
187 DefaultSSLServerSocketFactory(Exception reason) { in DefaultSSLServerSocketFactory() argument
188 this.reason = reason; in DefaultSSLServerSocketFactory()
193 new SocketException(reason.toString()).initCause(reason); in throwException()
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DMalformedParametersExceptionTest.java36 String reason = "message"; in stringConstructor() local
37 Exception e = new MalformedParametersException(reason); in stringConstructor()
38 assertEquals(reason, e.getMessage()); in stringConstructor()

123