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 0.00.50$
Author:
Michael Meyling
See Also:
Serialized Form

Field Summary
private  String address
          address of problematic module
private  int code
          exception code
private  int column
          source position of problem
private  String description
          description of reason for exception
private  String line
          problematic line
private  int row
          source position of problem
 
Fields inherited from class java.lang.Throwable
backtrace, detailMessage, serialVersionUID
 
Constructor Summary
ParsingException(int code, String description, int row, int column, String line, String address)
          Constructs an argument exception.
 
Method Summary
 String getAddress()
          Get address of problematic module.
 int getCode()
          Get exception code.
 int getColumn()
          Get problem position.
 String getDescription()
          Get exception code.
 String getLine()
          Get problematic source line.
 int getRow()
          Get row of problem.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, printStackTrace0, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

code

private final int code
exception code

description

private final String description
description of reason for exception

row

private final int row
source position of problem

column

private final int column
source position of problem

line

private final String line
problematic line

address

private final String address
address of problematic module
Constructor Detail

ParsingException

public ParsingException(int code,
                        String description,
                        int row,
                        int column,
                        String line,
                        String address)
Constructs an argument exception.
Parameters:
code - exception cathegory
description - what is the problem
row - row number of problem
column - column number of problem
line - problematic line
address - address that describes the module location
Method Detail

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