|
The various exceptions that are thrown while using the AdventNet SNMP high-level API are tabulated below:
| S.No. | Error Message | Classes | When it occurs |
|---|---|---|---|
|
1 |
NumberFormatException |
MibBrowser GraphDialog SnmpTablePanelUI TrapViewer |
In these methods, the integer values are used either directly from arguments or after parsing to integer format. This exception is thrown due to the format of numbers. |
|
2 |
ClassNotFoundException |
MibBrowser |
This is thrown if any of the class is not found inside the method. |
|
3 |
SQLException |
MibBrowser |
This is thrown due to database-related queries. |
|
4 |
FileName not specified |
GraphDialog |
This is thrown if the file name is not specified before query. |
|
5 |
FileNotFoundException |
MibBrowserUI |
This is thrown if the file is not found. |
|
6 |
IOException |
MibBrowserUI |
This is thrown on IO errors. |
|