public final class JdbcSQLNonTransientConnectionException extends SQLNonTransientConnectionException implements JdbcException
| 构造器和说明 |
|---|
JdbcSQLNonTransientConnectionException(String message,
String sql,
String state,
int errorCode,
Throwable cause,
String stackTrace)
Creates a SQLNonTransientConnectionException.
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getMessage() |
String |
getOriginalMessage()
INTERNAL
|
String |
getSQL()
Returns the SQL statement.
|
void |
printStackTrace(PrintStream s) |
void |
printStackTrace(PrintWriter s) |
void |
setSQL(String sql)
INTERNAL
|
String |
toString()
Returns the class name, the message, and in the server mode, the stack
trace of the server
|
getErrorCode, getNextException, getSQLState, iterator, setNextExceptionaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTraceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetErrorCodeforEach, spliteratorpublic JdbcSQLNonTransientConnectionException(String message, String sql, String state, int errorCode, Throwable cause, String stackTrace)
message - the reasonsql - the SQL statementstate - the SQL stateerrorCode - the error codecause - the exception that was the reason for this exceptionstackTrace - the stack tracepublic String getMessage()
getMessage 在类中 Throwablepublic String getOriginalMessage()
JdbcExceptiongetOriginalMessage 在接口中 JdbcExceptionpublic void printStackTrace(PrintWriter s)
printStackTrace 在类中 Throwablepublic void printStackTrace(PrintStream s)
printStackTrace 在类中 Throwablepublic String getSQL()
JdbcExceptionSQL statements that contain '--hide--' are not listed.
getSQL 在接口中 JdbcExceptionpublic void setSQL(String sql)
JdbcExceptionsetSQL 在接口中 JdbcExceptionsql - to setpublic String toString()
JdbcExceptiontoString 在接口中 JdbcExceptiontoString 在类中 ThrowableCopyright © 2022. All rights reserved.