java.lang.Object
java.lang.Throwable
java.lang.Exception
java.sql.SQLException
st.orm.template.SqlTemplateException
- All Implemented Interfaces:
Serializable,Iterable<Throwable>
Thrown to indicate an error occurred while processing a SQL template.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSqlTemplateException(String reason) Constructs a new exception with the specified reason.SqlTemplateException(String reason, Throwable cause) Constructs a new exception with the specified reason and cause.SqlTemplateException(Throwable cause) Constructs a new exception with the specified reason and cause. -
Method Summary
Methods inherited from class java.sql.SQLException
getErrorCode, getNextException, getSQLState, iterator, setNextExceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
SqlTemplateException
Constructs a new exception with the specified reason.- Parameters:
reason- the reason for the exception.
-
SqlTemplateException
Constructs a new exception with the specified reason and cause.- Parameters:
cause- the cause of the exception.
-
SqlTemplateException
Constructs a new exception with the specified reason and cause.- Parameters:
reason- the reason for the exception.cause- the cause of the exception.
-