braju.com
Java printf & scanf (beta)

com.braju.beta.format
Class ParseException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.io.IOException
                    |
                    +--com.braju.beta.format.ParseException
All Implemented Interfaces:
java.io.Serializable

public class ParseException
extends java.io.IOException

The only type of exception thrown in com.braju.format-package [JDK1.0.2 compatible].

See Also:
Serialized Form

Constructor Summary
ParseException(java.lang.String s)
           
ParseException(java.lang.String s, int errorOffset)
           
 
Method Summary
 int getErrorOffset()
          Return the position in the format string where the first error occured [...].
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, 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 s,
                      int errorOffset)

ParseException

public ParseException(java.lang.String s)
Method Detail

getErrorOffset

public int getErrorOffset()
Return the position in the format string where the first error occured [...]. If no valid position exists, -1 is returned.

braju.com
Java printf & scanf (beta)

Copyright 1997-2000, Henrik Bengtsson.