org.apache.regex
Class ParseException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.apache.regex.ParseException
All Implemented Interfaces:
java.io.Serializable

public class ParseException
extends java.lang.RuntimeException

Version:
$Id: ParseException.java,v 1.1 2003/07/29 13:17:06 stefanwachter 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, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, 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.