com.adventnet.snmp.mibs
Class MibErrorMessages

java.lang.Object
  |
  +--com.adventnet.snmp.mibs.MibErrorMessages

public class MibErrorMessages
extends java.lang.Object


Method Summary
 byte getErrorCode()
          Returns the error code.
 java.lang.String getErrorMessage()
          Returns the error message.
 java.util.Vector getErrorObjects()
          Returns a Vector of ErrorObjects.
 java.lang.String getType()
          Returns the type of the error.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getErrorCode

public byte getErrorCode()
Returns the error code.

getErrorMessage

public java.lang.String getErrorMessage()
Returns the error message.

getType

public java.lang.String getType()
Returns the type of the error. The types of error are CRT, ERR and INF. The type CRT denotes that the error is very critical. The MIB will not be loaded if it encounters any critical error INF denotes that the message is an information.

getErrorObjects

public java.util.Vector getErrorObjects()
Returns a Vector of ErrorObjects. This ErrorObject contains the line number, column number and the specific error message.


Copyright (c)AdventNet Inc., 1996-2004