ForumNotFoundException.java
上传用户:toby834
上传日期:2013-10-21
资源大小:2613k
文件大小:1k
源码类别:
Jsp/Servlet
开发平台:
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 ForumNotFoundException extends Exception
- {
- private Throwable testThrowable=null;
- public ForumNotFoundException()
- {
- super();
- }
- public ForumNotFoundException(String msg)
- {
- super(msg);
- }
- public ForumNotFoundException(Throwable testThrowable)
- {
- this.testThrowable=testThrowable;
- }
- public ForumNotFoundException(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);
- }
- }
- }