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

123

/libcore/ojluni/src/main/java/java/io/
H A DInvalidObjectException.java30 * tests. The argument should provide the reason for the failure.
44 * @param reason Detailed message explaining the reason for the failure.
48 public InvalidObjectException(String reason) { argument
49 super(reason);
H A DFileNotFoundException.java36 * constructors if the file does exist but for some reason is inaccessible, for
69 * consisting of the given pathname string followed by the given reason
70 * string. If the <code>reason</code> argument is <code>null</code> then
76 private FileNotFoundException(String path, String reason) { argument
77 super(path + ((reason == null)
79 : " (" + reason + ")"));
H A DNotActiveException.java39 * Constructor to create a new NotActiveException with the reason given.
41 * @param reason a String describing the reason for the exception.
43 public NotActiveException(String reason) { argument
44 super(reason);
48 * Constructor to create a new NotActiveException without a reason.
H A DStreamCorruptedException.java40 * Create a StreamCorruptedException and list a reason why thrown.
42 * @param reason String describing the reason for the exception.
44 public StreamCorruptedException(String reason) { argument
45 super(reason);
49 * Create a StreamCorruptedException and list no reason why thrown.
H A DInvalidClassException.java53 * Report an InvalidClassException for the reason specified.
55 * @param reason String describing the reason for the exception.
57 public InvalidClassException(String reason) { argument
58 super(reason);
65 * @param reason a String describing the reason for the exception.
67 public InvalidClassException(String cname, String reason) { argument
68 super(reason);
/libcore/ojluni/src/main/java/java/sql/
H A DSQLDataException.java42 * The <code>reason</code>, <code>SQLState</code> are initialized
58 * <code>reason</code>.
67 * @param reason a description of the exception
70 public SQLDataException(String reason) { argument
71 super(reason);
76 * <code>reason</code> and <code>SQLState</code>. The
83 * @param reason a description of the exception
87 public SQLDataException(String reason, String SQLState) { argument
88 super(reason, SQLState);
93 * <code>reason</cod
105 SQLDataException(String reason, String SQLState, int vendorCode) argument
137 SQLDataException(String reason, Throwable cause) argument
152 SQLDataException(String reason, String SQLState, Throwable cause) argument
168 SQLDataException(String reason, String SQLState, int vendorCode, Throwable cause) argument
[all...]
H A DSQLFeatureNotSupportedException.java47 * The <code>reason</code>, <code>SQLState</code> are initialized
62 * with a given <code>reason</code>. The <code>SQLState</code>
70 * @param reason a description of the exception
73 public SQLFeatureNotSupportedException(String reason) { argument
74 super(reason);
79 * with a given <code>reason</code> and <code>SQLState</code>.
86 * @param reason a description of the exception
90 public SQLFeatureNotSupportedException(String reason, String SQLState) { argument
91 super(reason,SQLState);
96 * with a given <code>reason</cod
108 SQLFeatureNotSupportedException(String reason, String SQLState, int vendorCode) argument
141 SQLFeatureNotSupportedException(String reason, Throwable cause) argument
157 SQLFeatureNotSupportedException(String reason, String SQLState, Throwable cause) argument
174 SQLFeatureNotSupportedException(String reason, String SQLState, int vendorCode, Throwable cause) argument
[all...]
H A DSQLIntegrityConstraintViolationException.java42 * The <code>reason</code>, <code>SQLState</code> are initialized
57 * with a given <code>reason</code>. The <code>SQLState</code>
65 * @param reason a description of the exception
68 public SQLIntegrityConstraintViolationException(String reason) { argument
69 super(reason);
74 * object with a given <code>reason</code> and <code>SQLState</code>.
81 * @param reason a description of the exception
85 public SQLIntegrityConstraintViolationException(String reason, String SQLState) { argument
86 super(reason,SQLState);
91 * with a given <code>reason</cod
103 SQLIntegrityConstraintViolationException(String reason, String SQLState, int vendorCode) argument
136 SQLIntegrityConstraintViolationException(String reason, Throwable cause) argument
152 SQLIntegrityConstraintViolationException(String reason, String SQLState, Throwable cause) argument
169 SQLIntegrityConstraintViolationException(String reason, String SQLState, int vendorCode, Throwable cause) argument
[all...]
H A DSQLInvalidAuthorizationSpecException.java42 * The <code>reason</code>, <code>SQLState</code> are initialized
57 * with a given <code>reason</code>. The <code>SQLState</code>
65 * @param reason a description of the exception
68 public SQLInvalidAuthorizationSpecException(String reason) { argument
69 super(reason);
74 * with a given <code>reason</code> and <code>SQLState</code>.
81 * @param reason a description of the exception
85 public SQLInvalidAuthorizationSpecException(String reason, String SQLState) { argument
86 super(reason,SQLState);
91 * with a given <code>reason</cod
103 SQLInvalidAuthorizationSpecException(String reason, String SQLState, int vendorCode) argument
136 SQLInvalidAuthorizationSpecException(String reason, Throwable cause) argument
152 SQLInvalidAuthorizationSpecException(String reason, String SQLState, Throwable cause) argument
169 SQLInvalidAuthorizationSpecException(String reason, String SQLState, int vendorCode, Throwable cause) argument
[all...]
H A DSQLNonTransientConnectionException.java42 * The <code>reason</code>, <code>SQLState</code> are initialized
58 * with a given <code>reason</code>. The <code>SQLState</code>
66 * @param reason a description of the exception
69 public SQLNonTransientConnectionException(String reason) { argument
70 super(reason);
75 * with a given <code>reason</code> and <code>SQLState</code>.
82 * @param reason a description of the exception
86 public SQLNonTransientConnectionException(String reason, String SQLState) { argument
87 super(reason,SQLState);
92 * with a given <code>reason</cod
104 SQLNonTransientConnectionException(String reason, String SQLState, int vendorCode) argument
137 SQLNonTransientConnectionException(String reason, Throwable cause) argument
153 SQLNonTransientConnectionException(String reason, String SQLState, Throwable cause) argument
170 SQLNonTransientConnectionException(String reason, String SQLState, int vendorCode, Throwable cause) argument
[all...]
H A DSQLNonTransientException.java40 * The <code>reason</code>, <code>SQLState</code> are initialized
56 * with a given <code>reason</code>. The <code>SQLState</code>
65 * @param reason a description of the exception
68 public SQLNonTransientException(String reason) { argument
69 super(reason);
74 * with a given <code>reason</code> and <code>SQLState</code>.
81 * @param reason a description of the exception
85 public SQLNonTransientException(String reason, String SQLState) { argument
86 super(reason,SQLState);
91 * with a given <code>reason</cod
103 SQLNonTransientException(String reason, String SQLState, int vendorCode) argument
136 SQLNonTransientException(String reason, Throwable cause) argument
153 SQLNonTransientException(String reason, String SQLState, Throwable cause) argument
170 SQLNonTransientException(String reason, String SQLState, int vendorCode, Throwable cause) argument
[all...]
H A DSQLRecoverableException.java43 * The <code>reason</code>, <code>SQLState</code> are initialized
58 * with a given <code>reason</code>. The <code>SQLState</code>
66 * @param reason a description of the exception
69 public SQLRecoverableException(String reason) { argument
70 super(reason);
75 * with a given <code>reason</code> and <code>SQLState</code>.
82 * @param reason a description of the exception
86 public SQLRecoverableException(String reason, String SQLState) { argument
87 super(reason, SQLState);
92 * with a given <code>reason</cod
104 SQLRecoverableException(String reason, String SQLState, int vendorCode) argument
137 SQLRecoverableException(String reason, Throwable cause) argument
153 SQLRecoverableException(String reason, String SQLState, Throwable cause) argument
170 SQLRecoverableException(String reason, String SQLState, int vendorCode, Throwable cause) argument
[all...]
H A DSQLSyntaxErrorException.java41 * The <code>reason</code>, <code>SQLState</code> are initialized
56 * with a given <code>reason</code>. The <code>SQLState</code>
64 * @param reason a description of the exception
67 public SQLSyntaxErrorException(String reason) { argument
68 super(reason);
73 * with a given <code>reason</code> and <code>SQLState</code>.
80 * @param reason a description of the exception
84 public SQLSyntaxErrorException(String reason, String SQLState) { argument
85 super(reason, SQLState);
90 * with a given <code>reason</cod
102 SQLSyntaxErrorException(String reason, String SQLState, int vendorCode) argument
135 SQLSyntaxErrorException(String reason, Throwable cause) argument
151 SQLSyntaxErrorException(String reason, String SQLState, Throwable cause) argument
168 SQLSyntaxErrorException(String reason, String SQLState, int vendorCode, Throwable cause) argument
[all...]
H A DSQLTimeoutException.java39 * The <code>reason</code>, <code>SQLState</code> are initialized
54 * with a given <code>reason</code>. The <code>SQLState</code>
62 * @param reason a description of the exception
65 public SQLTimeoutException(String reason) { argument
66 super(reason);
71 * with a given <code>reason</code> and <code>SQLState</code>.
78 * @param reason a description of the exception
82 public SQLTimeoutException(String reason, String SQLState) { argument
83 super(reason, SQLState);
88 * with a given <code>reason</cod
100 SQLTimeoutException(String reason, String SQLState, int vendorCode) argument
133 SQLTimeoutException(String reason, Throwable cause) argument
149 SQLTimeoutException(String reason, String SQLState, Throwable cause) argument
166 SQLTimeoutException(String reason, String SQLState, int vendorCode, Throwable cause) argument
[all...]
H A DSQLTransactionRollbackException.java41 * The <code>reason</code>, <code>SQLState</code> are initialized
56 * with a given <code>reason</code>. The <code>SQLState</code>
64 * @param reason a description of the exception
67 public SQLTransactionRollbackException(String reason) { argument
68 super(reason);
73 * with a given <code>reason</code> and <code>SQLState</code>.
80 * @param reason a description of the exception
84 public SQLTransactionRollbackException(String reason, String SQLState) { argument
85 super(reason, SQLState);
90 * with a given <code>reason</cod
102 SQLTransactionRollbackException(String reason, String SQLState, int vendorCode) argument
135 SQLTransactionRollbackException(String reason, Throwable cause) argument
151 SQLTransactionRollbackException(String reason, String SQLState, Throwable cause) argument
168 SQLTransactionRollbackException(String reason, String SQLState, int vendorCode, Throwable cause) argument
[all...]
H A DSQLTransientConnectionException.java42 * The <code>reason</code>, <code>SQLState</code> are initialized
57 * with a given <code>reason</code>. The <code>SQLState</code>
65 * @param reason a description of the exception
68 public SQLTransientConnectionException(String reason) { argument
69 super(reason);
74 * with a given <code>reason</code> and <code>SQLState</code>.
81 * @param reason a description of the exception
85 public SQLTransientConnectionException(String reason, String SQLState) { argument
86 super(reason,SQLState);
91 * with a given <code>reason</cod
103 SQLTransientConnectionException(String reason, String SQLState, int vendorCode) argument
136 SQLTransientConnectionException(String reason, Throwable cause) argument
152 SQLTransientConnectionException(String reason, String SQLState, Throwable cause) argument
169 SQLTransientConnectionException(String reason, String SQLState, int vendorCode, Throwable cause) argument
[all...]
H A DSQLTransientException.java40 * The <code>reason</code>, <code>SQLState</code> are initialized
55 * with a given <code>reason</code>. The <code>SQLState</code>
63 * @param reason a description of the exception
66 public SQLTransientException(String reason) { argument
67 super(reason);
72 * with a given <code>reason</code> and <code>SQLState</code>.
79 * @param reason a description of the exception
83 public SQLTransientException(String reason, String SQLState) { argument
84 super(reason,SQLState);
89 * with a given <code>reason</cod
101 SQLTransientException(String reason, String SQLState, int vendorCode) argument
134 SQLTransientException(String reason, Throwable cause) argument
150 SQLTransientException(String reason, String SQLState, Throwable cause) argument
167 SQLTransientException(String reason, String SQLState, int vendorCode, Throwable cause) argument
[all...]
H A DSQLWarning.java49 * with a given <code>reason</code>, <code>SQLState</code> and
56 * @param reason a description of the warning
60 public SQLWarning(String reason, String SQLState, int vendorCode) { argument
61 super(reason, SQLState, vendorCode);
62 DriverManager.println("SQLWarning: reason(" + reason +
70 * with a given <code>reason</code> and <code>SQLState</code>.
77 * @param reason a description of the warning
80 public SQLWarning(String reason, String SQLState) { argument
81 super(reason, SQLStat
98 SQLWarning(String reason) argument
147 SQLWarning(String reason, Throwable cause) argument
163 SQLWarning(String reason, String SQLState, Throwable cause) argument
181 SQLWarning(String reason, String SQLState, int vendorCode, Throwable cause) argument
[all...]
/libcore/ojluni/src/main/java/java/lang/reflect/
H A DMalformedParametersException.java60 * reason.
67 * @param reason The reason for the exception.
69 public MalformedParametersException(String reason) { argument
70 super(reason);
/libcore/ojluni/src/main/java/javax/net/ssl/
H A DSSLHandshakeException.java46 * @param reason describes the problem.
48 public SSLHandshakeException(String reason) argument
50 super(reason);
H A DSSLKeyException.java45 * @param reason describes the problem.
47 public SSLKeyException(String reason) argument
49 super(reason);
H A DSSLPeerUnverifiedException.java51 * @param reason describes the problem.
53 public SSLPeerUnverifiedException(String reason) argument
55 super(reason);
H A DSSLProtocolException.java45 * @param reason describes the problem.
47 public SSLProtocolException(String reason) argument
49 super(reason);
/libcore/ojluni/src/main/java/java/nio/file/
H A DAtomicMoveNotSupportedException.java47 * @param reason
48 * a reason message with additional information
52 String reason)
54 super(source, target, reason);
50 AtomicMoveNotSupportedException(String source, String target, String reason) argument
/libcore/luni/src/test/java/libcore/java/lang/reflect/
H A DMalformedParametersExceptionTest.java36 String reason = "message";
37 Exception e = new MalformedParametersException(reason);
38 assertEquals(reason, e.getMessage());

Completed in 289 milliseconds

123