    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class xm.xm_ParseException

    java.lang.Object
       |
       +----java.lang.Throwable
               |
               +----java.lang.Exception
                       |
                       +----java.io.IOException
                               |
                               +----xm.xm_ParseException

public class xm_ParseException
extends IOException

Exception when an error occurs during parsing which is sufficiently serious that the parse cannot continue. This exception is thrown when a terminal error occurs during parsing. This allows a trap to be set at the top level of parsing without intervening parsers having to bother with it.

##

xm_ParseException(String)
  Constructor.
xm_ParseException(String, int, int)
  Constructor.
xm_ParseException(String, int, int, int, int)
  Constructor.

##

getColumnNum()
  Get the number of the source column at which the exception occurred.
getLastSignificantPosition()
  Get the position in the source at which the last significant item occurred.
getLineNum()
  Get the number of the source line at which the exception occurred.
getMessage2()
  Get a string representation of this exception.
getParsePosition()
  Get the position in the source (number of characters) when the exception occurred.

##

xm_ParseException

     public xm_ParseException(String InputDescription,
                              int InputLineNum,
                              int InputColumnNum,
                              int InputLastSignificantPosition,
                              int InputParsePosition)

  Constructor.

  Parameters:
    InputDescription - Description of exception
    InputLineNum - The source line at which the exception occurred
    InputColumnNum - The source column at which the exception occurred
    InputLastSignificantPosition - The position of the last significant event
    InputParsePosition - The current character position in the source

xm_ParseException

     public xm_ParseException(String InputDescription,
                              int InputLineNum,
                              int InputColumnNum)

  Constructor.

  Parameters:
    InputDescription - Description of exception
    InputLineNum - The source line at which the exception occurred
    InputColumnNum - The source column at which the exception occurred

xm_ParseException

     public xm_ParseException(String InputDescription)

  Constructor.

  Parameters:
    InputDescription - Description of exception

##

getLineNum

     public int getLineNum()

  Get the number of the source line at which the exception occurred.

  Returns:
    The source line at which the exception occurred

getColumnNum

     public int getColumnNum()

  Get the number of the source column at which the exception occurred.

  Returns:
    The source column at which the exception occurred

getLastSignificantPosition

     public int getLastSignificantPosition()

  Get the position in the source at which the last significant item occurred.

  Returns:
    The position in the source of the last significant event

getParsePosition

     public int getParsePosition()

  Get the position in the source (number of characters) when the exception occurred.

  Returns:
    The source position at which the exception occurred

getMessage2

     public String getMessage2()

  Get a string representation of this exception.

  Returns:
    A string representation of this exception

    All Packages  Class Hierarchy  This Package  Previous  Next  Index