applicationexception.java

来自「<j2me 开发精解> 詹建光著 里所有的源码。对J2me的开发相当」· Java 代码 · 共 61 行

JAVA
61
字号
/* * 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 + =
减小字号Ctrl + -
显示快捷键?