Package org.soulwing.jdbc
Class SQLRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.soulwing.jdbc.SQLRuntimeException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SQLInputException
,SQLNonUniqueResultException
,SQLNoResultException
,SQLNullStatementException
,SQLResourceNotFoundException
public class SQLRuntimeException extends RuntimeException
A runtime exception that wraps anSQLException
.- Author:
- Carl Harris
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SQLRuntimeException()
Constructs a new instance.SQLRuntimeException(String message)
Constructs a new instance.SQLRuntimeException(String message, Throwable cause)
Constructs a new instance.SQLRuntimeException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
Constructs a new instance.SQLRuntimeException(Throwable cause)
Constructs a new instance.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
SQLRuntimeException
public SQLRuntimeException()
Constructs a new instance.
-
SQLRuntimeException
public SQLRuntimeException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
Constructs a new instance.- Parameters:
message
-cause
-enableSuppression
-writableStackTrace
-
-
SQLRuntimeException
public SQLRuntimeException(String message, Throwable cause)
Constructs a new instance.- Parameters:
message
-cause
-
-
SQLRuntimeException
public SQLRuntimeException(String message)
Constructs a new instance.- Parameters:
message
-
-
SQLRuntimeException
public SQLRuntimeException(Throwable cause)
Constructs a new instance.- Parameters:
cause
-
-
-