Class MSQLException

All Implemented Interfaces:
Serializable, Iterable<Throwable>

public class MSQLException extends SQLException
SQLException used by the McKoi database engine.
Author:
Tobias Downer
See Also:
  • Constructor Details

    • MSQLException

      public MSQLException(String reason, String SQLState, int vendorCode)
    • MSQLException

      public MSQLException(String reason, String SQLState)
    • MSQLException

      public MSQLException(String reason)
    • MSQLException

      public MSQLException()
    • MSQLException

      public MSQLException(String reason, String server_error_msg, int vendor_code, Throwable server_error)
      MSQL Specific. This stores the reason, the server exception message, and the server stack trace.
    • MSQLException

      public MSQLException(String reason, String server_error_msg, int vendor_code, String server_error_trace)
      MSQL Specific. This stores the reason, the server exception message, and the server stack trace as a string.
  • Method Details

    • getServerErrorMsg

      public String getServerErrorMsg()
      Returns the error message that generated this exception.
    • getServerErrorStackTrace

      public String getServerErrorStackTrace()
      Returns the server side stack trace for this error.
    • printStackTrace

      public void printStackTrace()
      Overwrites the print stack trace information with some more detailed information about the error.
      Overrides:
      printStackTrace in class Throwable
    • printStackTrace

      public void printStackTrace(PrintStream s)
      Overwrites the print stack trace information with some more detailed information about the error.
      Overrides:
      printStackTrace in class Throwable
    • printStackTrace

      public void printStackTrace(PrintWriter s)
      Overwrites the print stack trace information with some more detailed information about the error.
      Overrides:
      printStackTrace in class Throwable
    • unsupported

      public static SQLException unsupported()
      Returns an SQLException that is used for all unsupported features of the JDBC driver.
    • unsupported16

      public static SQLException unsupported16()
      Generates the feature not supported exception.