invalidconfigurationexception.java

来自「SMPP(点到点短消息协议)的java实现」· Java 代码 · 共 43 行

JAVA
43
字号
package ie.omk.smpp.util;public class InvalidConfigurationException extends        ie.omk.smpp.SMPPRuntimeException {    static final long serialVersionUID = 5616081756943055309L;        private final String property;    private final String value;    public InvalidConfigurationException(String msg, String property) {        super(msg);        this.property = property;        this.value = null;    }    public InvalidConfigurationException(String msg, String property, String value) {        super(msg);        this.property = property;        this.value = value;    }    public InvalidConfigurationException(            String msg, String property, Throwable rootCause) {        super(msg, rootCause);        this.property = property;        this.value = null;    }    /**     * Get the name of the offending property.     */    public String getProperty() {        return property;    }        /**     * Get the value which caused this exception.     * @return The offending value.     */    public String getValue() {        return value;    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?