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, setNextException
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public 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 Throwable
public void printStackTrace(PrintStream s)
printStackTrace
in class Throwable
public void printStackTrace(PrintWriter s)
printStackTrace
in class Throwable
public static SQLException unsupported()
public static SQLException unsupported16()
Copyright © 2015. All rights reserved.