Package org.mybatis.spring
Class MyBatisSystemException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.springframework.core.NestedRuntimeException
-
- org.springframework.dao.DataAccessException
-
- org.springframework.dao.NonTransientDataAccessException
-
- org.springframework.dao.UncategorizedDataAccessException
-
- org.mybatis.spring.MyBatisSystemException
-
- All Implemented Interfaces:
java.io.Serializable
public class MyBatisSystemException extends org.springframework.dao.UncategorizedDataAccessException
MyBatis specific subclass ofUncategorizedDataAccessException
, for MyBatis system errors that do not match any concreteorg.springframework.dao
exceptions. In MyBatis 3org.apache.ibatis.exceptions.PersistenceException
is aRuntimeException
, but using this wrapper class to bring everything under a single hierarchy will be easier for client code to handle.- Author:
- Hunter Presnall
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MyBatisSystemException(java.lang.Throwable cause)
-
Method Summary
-
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
-
-