net.percederberg.mibble
Class MibLoaderException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bynet.percederberg.mibble.MibLoaderException
All Implemented Interfaces:
java.io.Serializable

public class MibLoaderException
extends java.lang.Exception

A MIB loader exception. This exception is thrown when a MIB file couldn't be loaded properly, normally due to syntactical or semantical errors in the file.

Since:
2.0
See Also:
Serialized Form

Constructor Summary
MibLoaderException(MibLoaderLog log)
          Creates a new MIB loader exception.
 
Method Summary
 MibLoaderLog getLog()
          Returns the MIB loader log.
 java.lang.String getMessage()
          Returns a error summary message.
 
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
 

Constructor Detail

MibLoaderException

public MibLoaderException(MibLoaderLog log)
Creates a new MIB loader exception.

Parameters:
log - the MIB loader log
Method Detail

getLog

public MibLoaderLog getLog()
Returns the MIB loader log.

Returns:
the MIB loader log

getMessage

public java.lang.String getMessage()
Returns a error summary message.

Returns:
a error summary message