|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException com.ibatis.sqlmap.client.SqlMapException
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).
Constructor Summary | |
SqlMapException()
Simple constructor |
|
SqlMapException(java.lang.String msg)
Constructor to create exception with a message |
|
SqlMapException(java.lang.String msg,
java.lang.Throwable cause)
Constructor to create exception to wrap another exception and pass a message |
|
SqlMapException(java.lang.Throwable cause)
Constructor to create exception to wrap another exception |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SqlMapException()
public SqlMapException(java.lang.String msg)
msg
- A message to associate with the exceptionpublic SqlMapException(java.lang.Throwable cause)
cause
- The real cause of the exceptionpublic SqlMapException(java.lang.String msg, java.lang.Throwable cause)
msg
- The messagecause
- The real cause of the exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |