useralreadyexistexception.java
来自「用jsp+sqlserver 开发的论坛:主要功能:发帖、 浏览帖子 和回帖;主」· Java 代码 · 共 47 行
JAVA
47 行
package net.acai.forum;
/**
* Title: 清清网络
* Description:
* Copyright: Copyright (c) 2002
* Company: www.qingqing.com
* @author: qingqing
* @version 1.0
*/
import java.io.PrintStream;
import java.io.PrintWriter;
public class UserAlreadyExistException extends Exception{
private Throwable testThrowable=null;
public UserAlreadyExistException(){
super();
}
public UserAlreadyExistException(String msg){
super(msg);
}
public UserAlreadyExistException(Throwable testThrowable){
this.testThrowable=testThrowable;
}
public UserAlreadyExistException(String msg,Throwable testThrowable){
super(msg);
this.testThrowable=testThrowable;
}
public void printStackTrace(){
super.printStackTrace();
if(testThrowable!=null){
testThrowable.printStackTrace();
}
}
public void pirntStackTrace(PrintStream ps){
super.printStackTrace();
if(testThrowable!=null){
testThrowable.printStackTrace(ps);
}
}
public void printStackTrace(PrintWriter pw){
super.printStackTrace();
if(testThrowable!=null){
testThrowable.printStackTrace(pw);
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?