GateWayNotFoundException.java
上传用户:yuyunping
上传日期:2013-03-21
资源大小:1844k
文件大小:1k
源码类别:
Java书籍
开发平台:
Java
- package net.acai.forum;
- /**
- * Title: 清清网络
- * Description:
- * Copyright: Copyright (c) 2002
- * Company: www.SuperSpace.com
- * @author: SuperSpace
- * @version 1.0
- */
- import java.io.PrintStream;
- import java.io.PrintWriter;
- public class GateWayNotFoundException extends Exception
- {
- private Throwable testThrowable=null;
- public GateWayNotFoundException()
- {
- super();
- }
- public GateWayNotFoundException(String msg)
- {
- super(msg);
- }
- public GateWayNotFoundException(Throwable testThrowable)
- {
- this.testThrowable=testThrowable;
- }
- public GateWayNotFoundException(String msg ,Throwable testThrowable){
- super(msg);
- this.testThrowable=testThrowable;
- }
- public void printStackTrace(){
- super.printStackTrace();
- if(testThrowable!=null){
- testThrowable.printStackTrace();
- }
- }
- public void printStackTrace(PrintStream ps){
- super.printStackTrace(ps);
- if(testThrowable!=null){
- testThrowable.printStackTrace(ps);
- }
- }
- public void printStackTrace(PrintWriter pw){
- super.printStackTrace(pw);
- if(testThrowable!=null){
- testThrowable.printStackTrace(pw);
- }
- }
- }