Package com.quickorm.dao

Examples of com.quickorm.dao.DataAccessException.initCause()


    }

    //处理异常
    private void HandleException(Throwable ex, String sql) {
        DataAccessException dae = new DataAccessException();
        dae.initCause(ex);
        dae.setSql(sql);
        throw dae;
    }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.