|
"WEBNMS_5 API Docs" | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.adventnet.nms.tftp.TftpException
public class TftpException
Signals that an error occurred during transfer of files.
| Constructor Summary | |
|---|---|
TftpException(short code,
java.lang.String message)
Constructs a TftpException with the proper error code and error message. |
|
TftpException(java.lang.String message)
Constructs a TftpException with the detailed error message. |
|
| Method Summary | |
|---|---|
short |
getErrorCode()
Returns the errorCode. |
java.lang.String |
getErrorMessage()
Returns the error message. |
java.lang.String |
toString()
Returns the concatenated value of errorCode and errorMessage |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TftpException(java.lang.String message)
public TftpException(short code,
java.lang.String message)
| Method Detail |
|---|
public short getErrorCode()
public java.lang.String getErrorMessage()
public java.lang.String toString()
toString in class java.lang.Throwable
|
"WEBNMS_5 API Docs" | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||