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:
- Serializable
The InvalidTelnetOptionException is the exception that is thrown whenever a TelnetOptionHandler with an invlaid option code is registered in TelnetClient
 with addOptionHandler.
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionInvalidTelnetOptionException(String message, int optcode) Constructor for the exception.
- 
Method SummaryMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
InvalidTelnetOptionExceptionConstructor for the exception.- Parameters:
- message- - Error message.
- optcode- - Option code.
 
 
- 
- 
Method Details- 
getMessageGets the error message of ths exception.- Overrides:
- getMessagein class- Throwable
- Returns:
- the error message.
 
 
-