Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

oracle.adfnmc.java.text
Class ParseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by oracle.adfnmc.java.text.ParseException

public class ParseException
extends java.lang.Exception

A ParseException is thrown when the String being parsed is not in the correct form.


Constructor Summary
ParseException(java.lang.String detailMessage, int location)
          Constructs a new instance of this class with its walkback, message and the location of the error filled in.
 
Method Summary
 int getErrorOffset()
          Answers the index at which the parse exception occurred.
 
Methods inherited from class java.lang.Throwable
getMessage, printStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParseException

public ParseException(java.lang.String detailMessage,
                      int location)
Constructs a new instance of this class with its walkback, message and the location of the error filled in.

Parameters:
detailMessage - String The detail message for the exception.
location - int The index at which the parse exception occurred.
Method Detail

getErrorOffset

public int getErrorOffset()
Answers the index at which the parse exception occurred.

Returns:
int The index of the parse exception.

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.