# Xerces2 Implementation: Class ParseException

## org.apache.xerces.impl.xpath.regex
Class ParseException

    java.lang.Object
      |
      +--java.lang.Throwable
            |
            +--java.lang.Exception
                  |
                  +--java.lang.RuntimeException
                        |
                        +--org.apache.xerces.impl.xpath.regex.ParseException

All Implemented Interfaces:
  java.io.Serializable

public class ParseException
extends java.lang.RuntimeException

Version:
  $Id: ParseException.java,v 1.3 2002/08/09 15:18:17 neilg Exp $
Author:
  TAMURA Kent <kent@trl.ibm.co.jp>
See Also:
  Serialized Form

Constructor Summary
`ParseException(java.lang.String mes, int location)`

Method Summary
`int` `getLocation()`

Methods inherited from class java.lang.Throwable
`fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### ParseException

    public ParseException(java.lang.String mes,
                          int location)

Method Detail

### getLocation

    public int getLocation()

  Returns:
    -1 if location information is not available.

Copyright © 1999-2004 Apache XML Project. All Rights Reserved.