首页 >> 文摘 >> JAVA

使用动态代理实现用AOP对数据库进行操作。

采集日期:2008-4-20作者:Zqin(注:本数据由系统自动采集,内容与BHCODE无关)
下面试这个类的代码:public class TransactionException extends RuntimeException { private Throwable superException; private String myMessage; public TransactionException(Throwable throwable){ super(throwable); this.superException = throwable; } public TransactionException(Throwable throwable,String message){ super(message,throwable); this.superException = throwable; this.myMessage = message; }
本周推荐
MORE
热点关注
MORE