|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--org.apache.commons.net.telnet.InvalidTelnetOptionException
The InvalidTelnetOptionException is the exception that is thrown whenever a TelnetOptionHandler with an invlaid option code is registered in TelnetClient with addOptionHandler.
| Field Summary | |
|---|---|
private java.lang.String |
msg
Error message |
private int |
optionCode
Option code |
| Fields inherited from class java.lang.Exception |
|---|
|
| Fields inherited from class java.lang.Throwable |
|---|
|
| Constructor Summary | |
|---|---|
InvalidTelnetOptionException(java.lang.String message,
int optcode)
Constructor for the exception. |
|
| Method Summary | |
|---|---|
java.lang.String |
getMessage()
Gets the error message of ths exception. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private int optionCode
private java.lang.String msg
| Constructor Detail |
public InvalidTelnetOptionException(java.lang.String message,
int optcode)
message - - Error message.optcode - - Option code.| Method Detail |
public java.lang.String getMessage()
getMessage in class java.lang.Throwable
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||