invalidsizeforvalueexception.java

来自「中国移动定位引擎的客户端」· Java 代码 · 共 39 行

JAVA
39
字号
/**
*
* <p>Title: Smgp协议TLV结构解析</p>
* <p>Description: 值大小异常处理</p>
* <p>Copyright: Copyright (c) 2007</p>
* <p>Company: 福富软件</p>
* @author chenxin
* @version 1.0 $Date 2007-07-03
*/
package ffcs.lbp.le.message.tlv;

/**
 * An attempt was made to encode or decode a value with a length outside of the
 * bounds defined by its <code>Tag</code>. This can happen, for instance,
 * when an attempt is made to encode a string value that is longer than the
 * maximum length defined by the tag for that value.
 * 
 * @version $Id: InvalidSizeForValueException.java 258 2006-03-09 11:37:09Z orank $
 */
public class InvalidSizeForValueException extends RuntimeException {
    static final long serialVersionUID = -4600629750433218768L;
    
    /**
     * Create a new InvalidSizeForValueException.
     */
    public InvalidSizeForValueException() {
    }

    /**
     * Create a new InvalidSizeForValueException.
     * 
     * @param msg
     *            The exception message.
     */
    public InvalidSizeForValueException(String msg) {
        super(msg);
    }
}

⌨️ 快捷键说明

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