org.ocltf.parser
Class OclParserException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.ocltf.parser.OclParserException
All Implemented Interfaces:
java.io.Serializable

public class OclParserException
extends java.lang.RuntimeException

Retrieves information from the OCL parser exceptions in a more user friendly format.

See Also:
Serialized Form

Constructor Summary
OclParserException(java.lang.String s)
          Constructs an instance of OclParserException.
 
Method Summary
 int getErrorCol()
          The column of the error.
 int getErrorLine()
          The line of the error.
 java.lang.String getMessage()
           
 
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

OclParserException

public OclParserException(java.lang.String s)
Constructs an instance of OclParserException.

Parameters:
s -
Method Detail

getMessage

public java.lang.String getMessage()
See Also:
Throwable.getMessage()

getErrorLine

public int getErrorLine()
The line of the error.

Returns:
int

getErrorCol

public int getErrorCol()
The column of the error.

Returns:
int


Copyright © 2003-2004 Chad Brandon. All Rights Reserved.