public class MyBatisSystemException
extends org.springframework.dao.UncategorizedDataAccessException
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.Constructor and Description |
---|
MyBatisSystemException(Throwable cause) |
contains, getMessage, getMostSpecificCause, getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MyBatisSystemException(Throwable cause)
Copyright © 2010–2020 MyBatis.org. All rights reserved.