public class MSQLException extends SQLException
| Constructor and Description |
|---|
MSQLException() |
MSQLException(String reason) |
MSQLException(String reason,
String SQLState) |
MSQLException(String reason,
String SQLState,
int vendorCode) |
MSQLException(String reason,
String server_error_msg,
int vendor_code,
String server_error_trace)
MSQL Specific.
|
MSQLException(String reason,
String server_error_msg,
int vendor_code,
Throwable server_error)
MSQL Specific.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getServerErrorMsg()
Returns the error message that generated this exception.
|
String |
getServerErrorStackTrace()
Returns the server side stack trace for this error.
|
void |
printStackTrace()
Overwrites the print stack trace information with some more detailed
information about the error.
|
void |
printStackTrace(PrintStream s)
Overwrites the print stack trace information with some more detailed
information about the error.
|
void |
printStackTrace(PrintWriter s)
Overwrites the print stack trace information with some more detailed
information about the error.
|
static SQLException |
unsupported()
Returns an SQLException that is used for all unsupported features of the
JDBC driver.
|
static SQLException |
unsupported16()
Generates the feature not supported exception.
|
getErrorCode, getNextException, getSQLState, iterator, setNextExceptionaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic MSQLException(String reason)
public MSQLException()
public MSQLException(String reason, String server_error_msg, int vendor_code, Throwable server_error)
public String getServerErrorMsg()
public String getServerErrorStackTrace()
public void printStackTrace()
printStackTrace in class Throwablepublic void printStackTrace(PrintStream s)
printStackTrace in class Throwablepublic void printStackTrace(PrintWriter s)
printStackTrace in class Throwablepublic static SQLException unsupported()
public static SQLException unsupported16()
Copyright © 2015. All rights reserved.