Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.text

Class ParseException

java.lang.Object
|
+--java.lang.Throwable
   |
   +--java.lang.Exception
      |
      +--java.text.ParseException


public class ParseException

extends Exception

This exception is thrown when an unexpected error occurs during parsing.

Authors:See Also:

Constructor Summary

ParseException(java.lang.String s, int offset)

This method initializes a new instance of ParseException with a detailed error message and a error position.

Method Summary

intgetErrorOffset()

This method returns the position where the error occurred.

Constructor Details

ParseException

public ParseException(java.lang.String s, int offset)

This method initializes a new instance of ParseException with a detailed error message and a error position.

Parameters:


Method Details

getErrorOffset

public int getErrorOffset()

This method returns the position where the error occurred.

Returns: