Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Multivalent API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## multivalent
Class ParseException

    java.lang.Object
      java.lang.Throwable
          java.lang.Exception
              multivalent.ParseException

All Implemented Interfaces:
  java.io.Serializable

public class ParseException
extends java.lang.Exception

MediaAdaptors should return this when encountering an unfixable/unrecoverable parsing error. NB: this is different from `ParseException`.

Version:
  $Revision: 1.2 $ $Date: 2002/10/03 22:15:59 $
See Also:
  `MediaAdaptor`, Serialized Form

Constructor Summary
`ParseException(java.lang.String message)` Parse error not traceable to specific byte/line.
`ParseException(java.lang.String message, int line, int chr)` Text formats report the line and character offsets.
`ParseException(java.lang.String message, long posn)` Binary data formats report the byte offset into the file.

Method Summary
`int` | `getChar()`
`int` | `getLine()`
`long` | `getPosn()`
`java.lang.String` | `toString()`

Methods inherited from class java.lang.Throwable
`fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace`

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 message)

  Parse error not traceable to specific byte/line.

### ParseException

    public ParseException(java.lang.String message,
                          long posn)

  Binary data formats report the byte offset into the file.

### ParseException

    public ParseException(java.lang.String message,
                          int line,
                          int chr)

  Text formats report the line and character offsets.

Method Detail

### getPosn

    public long getPosn()

### getLine

    public int getLine()

### getChar

    public int getChar()

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Throwable`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Multivalent API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD