forumtopicnotfoundexception.java

来自「一个论坛该有的功能都有」· Java 代码 · 共 50 行

JAVA
50
字号
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 ForumTopicNotFoundException extends Exception
{
	private Throwable testThrowable=null;
	public ForumTopicNotFoundException()
	{
		super();
	}
	public ForumTopicNotFoundException(String msg)
	{
		super(msg);
	}
	public ForumTopicNotFoundException(Throwable testThrowable)
	{
		this.testThrowable=testThrowable;
	}
	public ForumTopicNotFoundException(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);
		}
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?