?? bankexception.java
字號:
/* * JBoss, the OpenSource J2EE webOS * * Distributable under LGPL license. * See terms of license at gnu.org. */package transaction.interfaces;/** * * @see <related> * @author $Author: schaefera $ * @version $Revision: 1.1 $ * * Changes: * <ul> * <li>2002-05-05 danch changes to compile under JDK 1/4</li> * </ul> */public class BankException extends Exception{ // Constants ----------------------------------------------------- // Attributes ---------------------------------------------------- Throwable cause; // Static -------------------------------------------------------- // Constructors -------------------------------------------------- public BankException(String message) { super(message); } public BankException(String message, Throwable e) { super(message); cause = e; } // Public -------------------------------------------------------- public Throwable getCause() { return cause; } public String toString() { return super.toString()+", Cause:"+cause; }}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -