public class MibException
extends java.lang.Exception
Constructor and Description |
---|
MibException(java.io.File file,
int line,
int column,
java.lang.String message)
Creates a new MIB exception.
|
MibException(FileLocation location,
java.lang.String message)
Creates a new MIB exception.
|
Modifier and Type | Method and Description |
---|---|
FileLocation |
getLocation()
Returns the error location.
|
public MibException(FileLocation location, java.lang.String message)
location
- the file locationmessage
- the error messagepublic MibException(java.io.File file, int line, int column, java.lang.String message)
file
- the file containing the errorline
- the line number containing the errorcolumn
- the column number containing the errormessage
- the error messagepublic FileLocation getLocation()