org.apache.commons.net.telnet
Class InvalidTelnetOptionException
Exception
org.apache.commons.net.telnet.InvalidTelnetOptionException
public class InvalidTelnetOptionException
extends Exception
The InvalidTelnetOptionException is the exception that is
thrown whenever a TelnetOptionHandler with an invlaid
option code is registered in TelnetClient with addOptionHandler.
- Bruno D'Avanzo
private String | msg -
Error message
|
private int | optionCode -
Option code
|
String | getMessage() -
Gets the error message of ths exception.
|
msg
private String msg
Error message
optionCode
private int optionCode
Option code
InvalidTelnetOptionException
public InvalidTelnetOptionException(String message,
int optcode)
Constructor for the exception.
message
- - Error message.optcode
- - Option code.
getMessage
public String getMessage()
Gets the error message of ths exception.
- the error message.