📄 commonexception.java
字号:
/*
* @(#)CommonException.java
*
* Copyright 2003 by SYNTC, All rights reserved.
*
* This software is the confidential and proprietary information of SYNTC.
* ("Confidential Information").
*/
package cn.com.syntc.common.io;
import java.io.PrintStream;
import java.io.PrintWriter;
/**
* @title: CommonException <p>
* @description: 共通class发生例外 <p>
* @authority: Copyright (c) <p>
* @company: SYNTC <p>
* @author: wang yong <p>
* @version: 1.0 <p>
*/
public class CommonException extends RuntimeException{
private Throwable previousThrowable = null;
public CommonException() {
}
public CommonException(String message){
super(message);
}
public void printStackTrace(){
super.printStackTrace();
if (this.previousThrowable != null)
{
this.previousThrowable.printStackTrace();
}
}
public CommonException(Throwable inThrowable){
this.previousThrowable = inThrowable;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -