PMII - JAVA-Packages - Principia Mathematica II

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

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, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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

PMII - JAVA-Packages - Principia Mathematica II

©left GNU General Public Licence
All Rights Reserved.