?? negativeresponseexception.java
字號:
package org.jsmpp.extra;
import org.jsmpp.util.IntUtil;
/**
* This exception is thrown if we receive an negative response.
*
* @author uudashr
* @version 1.0
* @since 1.0
*
*/
public class NegativeResponseException extends Exception {
private static final long serialVersionUID = 7198456791204091251L;
private int commandStatus;
/**
* Construct with specified command_status.
*
* @param commandStatus is the command_status.
*/
public NegativeResponseException(int commandStatus) {
super("Negative response " + IntUtil.toHexString(commandStatus)
+ " found");
this.commandStatus = commandStatus;
}
/**
* Get the command_status.
*
* @return is the command_status.
*/
public int getCommandStatus() {
return commandStatus;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -