Class SQLRuntimeException

All Implemented Interfaces:
Serializable

public class SQLRuntimeException extends RuntimeException
An exception thrown to wrap a SQLException.
Author:
Matthew Tropiano
See Also:
  • Constructor Details

    • SQLRuntimeException

      public SQLRuntimeException(SQLException e)
      Creates a new SQLRuntimeException from a SQLException.
      Parameters:
      e - the exception to wrap.
    • SQLRuntimeException

      public SQLRuntimeException(IOException e)
      Creates a new SQLRuntimeException from an IOException.
      Parameters:
      e - the exception to wrap.
      Since:
      1.1.0
    • SQLRuntimeException

      public SQLRuntimeException(String message, SQLException e)
      Creates a new SQLRuntimeException from a SQLException.
      Parameters:
      message - the message.
      e - the exception to wrap.
      Since:
      1.1.0
    • SQLRuntimeException

      public SQLRuntimeException(String message, IOException e)
      Creates a new SQLRuntimeException from an IOException.
      Parameters:
      message - the message.
      e - the exception to wrap.
      Since:
      1.1.0
  • Method Details

    • getSQLException

      public SQLException getSQLException()
      Returns:
      the SQLException that caused this exception.