|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.adventnet.snmp.mibs.ErrorObject
This class represents the specific error message. The line number, column number and the error present in the particular location of the MIB file is stored in this object.
Consider the following error message
ERR-168 | The IMPLIED keyword can be associated only with the last object in the INDEX clause. | |
lineNo | colNo | Error |
329 | 8 | The index 'advNumIndex' defined as IMPLIED, is not the last object |
In the above error message, the error
329 | 8 | The index 'advNumIndex' defined as IMPLIED, is not the last object |
The ErrorObject instance can be obtained as follows
Vector errorObjects = mibErrMsg.getErrorObjects(); ErrorObject eob = (ErrorObject)errorObjects.firstElement();where mibErrMsg is an instance of MibErrorMessages
MibErrorMessages
Method Summary | |
int |
getColumnNo()
Returns the column number of the error. |
java.lang.String |
getError()
Returns the specific error message. |
int |
getLineNo()
Returns the line number of the error. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public int getLineNo()
public int getColumnNo()
public java.lang.String getError()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |