invalidnumberofdestinationsexception.java

来自「JSMPP Examples to send and receive sms f」· Java 代码 · 共 31 行

JAVA
31
字号
package org.jsmpp;


/**
 * This exception should be thrown if there is an invalid number of destination
 * address used by submit_multi.
 * 
 * @author uudashr
 * 
 */
public class InvalidNumberOfDestinationsException extends PDUException {
    private static final long serialVersionUID = -1515128166927438310L;
    private int actualLength;
    
    /**
     * Default constructor.
     * 
     * @param message is the message.
     * @param actualLength the actual length.
     */
    public InvalidNumberOfDestinationsException(String message, int actualLength) {
        super(message);
        this.actualLength = actualLength;
    }
    
    public int getActualLength() {
        return actualLength;
    }
    
}

⌨️ 快捷键说明

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