All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jsmpp.InvalidNumberOfDestinationsException Maven / Gradle / Ivy

There is a newer version: 15.0.0.1
Show newest version
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 final 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;
    }
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy