java.io.Serializable
, java.lang.Iterable<java.lang.Throwable>
public class MSQLException
extends java.sql.SQLException
Constructor | Description |
---|---|
MSQLException() |
|
MSQLException(java.lang.String reason) |
|
MSQLException(java.lang.String reason,
java.lang.String SQLState) |
|
MSQLException(java.lang.String reason,
java.lang.String SQLState,
int vendorCode) |
|
MSQLException(java.lang.String reason,
java.lang.String server_error_msg,
int vendor_code,
java.lang.String server_error_trace) |
MSQL Specific.
|
MSQLException(java.lang.String reason,
java.lang.String server_error_msg,
int vendor_code,
java.lang.Throwable server_error) |
MSQL Specific.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getServerErrorMsg() |
Returns the error message that generated this exception.
|
java.lang.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(java.io.PrintStream s) |
Overwrites the print stack trace information with some more detailed
information about the error.
|
void |
printStackTrace(java.io.PrintWriter s) |
Overwrites the print stack trace information with some more detailed
information about the error.
|
static java.sql.SQLException |
unsupported() |
Returns an SQLException that is used for all unsupported features of the
JDBC driver.
|
static java.sql.SQLException |
unsupported16() |
Generates the feature not supported exception.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public MSQLException(java.lang.String reason, java.lang.String SQLState, int vendorCode)
public MSQLException(java.lang.String reason, java.lang.String SQLState)
public MSQLException(java.lang.String reason)
public MSQLException()
public MSQLException(java.lang.String reason, java.lang.String server_error_msg, int vendor_code, java.lang.Throwable server_error)
public MSQLException(java.lang.String reason, java.lang.String server_error_msg, int vendor_code, java.lang.String server_error_trace)
public java.lang.String getServerErrorMsg()
public java.lang.String getServerErrorStackTrace()
public void printStackTrace()
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream s)
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintWriter s)
printStackTrace
in class java.lang.Throwable
public static java.sql.SQLException unsupported()
public static java.sql.SQLException unsupported16()
Copyright © 2018. All rights reserved.