📄 generalfailureexception.java
字号:
/*
* $Id: GeneralFailureException.java,v 1.1.1.1 2002/02/02 05:20:26 Administrator Exp $
* Copyright 2001 Sun Microsystems, Inc. All rights reserved.
* Copyright 2001 Sun Microsystems, Inc. Tous droits r閟erv閟.
*/
package com.huiton.mainframe.control.exceptions;
/**
* This exception is the base class for all the web runtime exceptions.
*/
public class GeneralFailureException extends RuntimeException
implements java.io.Serializable {
private Throwable t;
public GeneralFailureException(String s) {
super(s);
}
public GeneralFailureException(String s, Throwable t) {
super(s);
this.t = t;
}
public String getThrowable() {
return ("Received throwable with Message: "+ t.getMessage());
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -