com.meyling.principia.io
Class ParsingException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.meyling.principia.io.ParsingException
- All Implemented Interfaces:
- Serializable
- public class ParsingException
- extends Exception
This is a construction (and checking) exception for arguments.
- Version:
- $Revision: 1.3 $
- Author:
- Michael Meyling
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ParsingException
public ParsingException(int code,
String description,
int row,
int column,
String line,
String address)
- Constructs an argument exception.
- Parameters:
code
- exception cathegorydescription
- what is the problemrow
- row number of problemcolumn
- column number of problemline
- problematic lineaddress
- address that describes the module location
getCode
public final int getCode()
- Get exception code.
- Returns:
- exception code
getDescription
public final String getDescription()
- Get exception code.
- Returns:
- exception description
getRow
public final int getRow()
- Get row of problem.
- Returns:
- problem row position)
getColumn
public final int getColumn()
- Get problem position.
- Returns:
- problem position)
getLine
public final String getLine()
- Get problematic source line.
- Returns:
- source line
getAddress
public final String getAddress()
- Get address of problematic module.
- Returns:
- address of problematic module