baseexception.java
来自「一个J2EE SSH功能的实现」· Java 代码 · 共 42 行
JAVA
42 行
package com.sxjsuper.base;
public class BaseException extends Exception
{
/**
*
*/
private static final long serialVersionUID = 1L;
private int id;
public BaseException(String message)
{
super(message);
this.id = -1;
}
public BaseException(String message, Throwable throwable)
{
super(message, throwable);
this.id = -1;
}
public BaseException(int id, String message)
{
super(message);
this.id = -1;
}
public BaseException(int id, String message, Throwable throwable)
{
super(message);
this.id = -1;
}
public int getID()
{
return this.id;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?