📄 applicationexception.java
字号:
/* * ApplicationException.java * * Created on 2005年9月11日, 上午11:26 * * To change this template, choose Tools | Options and locate the template under * the Source Creation and Management node. Right-click the template and choose * Open. You can then make changes to the template in the Source Editor. */package com.ch6.post;/** * * @author Administrator */public class ApplicationException extends Exception{ private String message = ""; private Exception exception = null; private int code = 0; /** Creates a new instance of ApplicationException */ public ApplicationException() { } public ApplicationException(String message){ this.setMessage(message); } public ApplicationException(Exception exception){ this.setException(exception); } public String getMessage() { return message; } public void setMessage(String message) { this.message = message; } public Exception getException() { return exception; } public void setException(Exception exception) { this.exception = exception; } public int getCode() { return code; } public void setCode(int code) { this.code = code; } }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -