Package com.ibatis.sqlmap.client
Class SqlMapException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.ibatis.sqlmap.client.SqlMapException
- All Implemented Interfaces:
Serializable
Thrown to indicate a problem with SQL Map configuration or state. Generally if an SqlMapException is thrown,
something is critically wronge and cannot be corrected until a change to the configuration or the environment is
made.
Note: Generally this wouldn't be used to indicate that an SQL execution error occurred (that's what SQLException is for).
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSimple constructor.SqlMapException
(String msg) Constructor to create exception with a message.SqlMapException
(String msg, Throwable cause) Constructor to create exception to wrap another exception and pass a message.SqlMapException
(Throwable cause) Constructor to create exception to wrap another exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SqlMapException
public SqlMapException()Simple constructor. -
SqlMapException
Constructor to create exception with a message.- Parameters:
msg
- A message to associate with the exception
-
SqlMapException
Constructor to create exception to wrap another exception.- Parameters:
cause
- The real cause of the exception
-
SqlMapException
Constructor to create exception to wrap another exception and pass a message.- Parameters:
msg
- The messagecause
- The real cause of the exception
-