Package com.landawn.abacus.exception
Class UncheckedSQLException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.landawn.abacus.exception.UncheckedException
com.landawn.abacus.exception.UncheckedSQLException
- All Implemented Interfaces:
Serializable
- Since:
- 0.8
- Author:
- Haiyang Li
- See Also:
-
Constructor Summary
ConstructorDescriptionUncheckedSQLException
(String errorMsg, SQLException cause) Constructor for UncheckedSQLException.Constructor for UncheckedSQLException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UncheckedSQLException
Constructor for UncheckedSQLException.- Parameters:
cause
-
-
UncheckedSQLException
Constructor for UncheckedSQLException.- Parameters:
errorMsg
-cause
-
-
-
Method Details
-
getSQLState
- Returns:
- String
-
getErrorCode
public int getErrorCode()- Returns:
- int
-
getCause
Returns the cause of this exception.- Overrides:
getCause
in classUncheckedException
- Returns:
- the
IOException
which is the cause of this exception.
-