Microsoft SDK for Java

ParseException Class Constructors

The ParseException class contains the following constructors:

ParseException()
ParseException(String s)
ParseException(String s, int line, int column, Object owner)

ParseException()

Constructs a ParseException exception with no detail message.

Syntax

public ParseException();

ParseException(String s)

Constructs a ParseException exception with a specified message.

Syntax

public ParseException(String s);

Parameters

s The detail message.

ParseException(String s, int line, int column, Object owner)

Constructs a ParseException exception with detail about what occurred.

Syntax

public ParseException(String s, int line, int column, Object owner);

Parameters

s The detail message.
line The line number of the input where the error was found.
column The position on the line.
owner The context in which the error was encountered. This is either an Entity object or a Parser object.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.