SQLExceptionRepresents a database exception.
String getMessage()Get the detail error message.Returns:
the message
String getSQL()Returns the SQL statement.Returns:
the SQL statement
void printStackTrace()Prints the stack trace to the standard error stream.void printStackTrace(PrintWriter s)Prints the stack trace to the specified print writer.Parameters:
s - the print writer
void printStackTrace(PrintStream s)Prints the stack trace to the specified print stream.Parameters:
s - the print stream
String toString()Returns the class name, the message, and in the server mode, the stack trace of the serverReturns:
the string representation
|