Package org.apache.commons.net.telnet
Class InvalidTelnetOptionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.commons.net.telnet.InvalidTelnetOptionException
-
- All Implemented Interfaces:
java.io.Serializable
public class InvalidTelnetOptionException extends java.lang.Exception
The InvalidTelnetOptionException is the exception that is thrown whenever a TelnetOptionHandler with an invlaid option code is registered in TelnetClient with addOptionHandler.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
msg
Error messageprivate int
optionCode
Option codeprivate static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description InvalidTelnetOptionException(java.lang.String message, int optcode)
Constructor for the exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMessage()
Gets the error message of ths exception.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
optionCode
private final int optionCode
Option code
-
msg
private final java.lang.String msg
Error message
-
-