org.mybatis.spring
Class MyBatisSystemException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.core.NestedRuntimeException
                  extended by org.springframework.dao.DataAccessException
                      extended by org.springframework.dao.NonTransientDataAccessException
                          extended by org.springframework.dao.UncategorizedDataAccessException
                              extended by org.mybatis.spring.MyBatisSystemException
All Implemented Interfaces:
Serializable

public class MyBatisSystemException
extends org.springframework.dao.UncategorizedDataAccessException

MyBatis specific subclass of UncategorizedDataAccessException, for MyBatis system errors that do not match any concrete org.springframework.dao exceptions. In MyBatis 3 org.apache.ibatis.exceptions.PersistenceException is a RuntimeException, but using this wrapper class to bring everything under a single hierarchy will be easier for client code to handle.

Version:
$Id: MyBatisSystemException.java 3406 2010-12-20 17:58:31Z eduardo.macarron $
See Also:
Serialized Form

Constructor Summary
MyBatisSystemException(Throwable cause)
           
 
Method Summary
 
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

MyBatisSystemException

public MyBatisSystemException(Throwable cause)


Copyright © 2010-2011 MyBatis.org. All Rights Reserved.