# Class ParseException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.codename1.l10n.ParseException

All Implemented Interfaces:
  `Serializable`

public class ParseException extends Exception
An error occurred during parsing.

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ParseException(String s, int errorOffset)`

  ###### Parameters

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `getErrorOffset()`

  ###### Returns

  ### Methods inherited from class Throwable

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### ParseException

    public ParseException(String s, int errorOffset)

    ###### Parameters

    - `errorOffset`

- ## Method Details

  - ### getErrorOffset

    public int getErrorOffset()

    ###### Returns

    the errorOffset