Class 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.

    Author:
    Hunter Presnall
    See Also:
    Serialized Form
    • Constructor Detail

      • MyBatisSystemException

        public MyBatisSystemException​(Throwable cause)