XMLParseException - Oracle 9i

Syntax

All Implemented Interfaces
java.io.Serializable

Description
Indicates that a parsing exception occurred while processing an XML document

XMLParseException

XML Parse Exception

Fields
ERROR

public static final int ERROR Code for non-fatal error

FATAL_ERROR

public static final int FATAL_ERROR Code for fatal error

WARNING

public static final int WARNING Code for warning

Constructor
XMLParseException(String, String, String, int, int, int)

public XMLParseException(java.lang.String mesg, java.lang.String pubId, java.lang.String sysId, int line, int col, int type)

Methods
getColumnNumber(int)

public int getColumnNumber(int i)

Get the column number of error at specified index

Returns
The column number

getException(int)

public java.lang.Exception getException(int i)

Get the exception (if exists) that occured in error at specified index

Returns
The exception

getLineNumber(int)

public int getLineNumber(int i)

Get the line number of error at specified index

Returns
The line number

getMessage(int)
public java.lang.String getMessage(int i)
Get the error message at specified index

Returns
The error message

getMessageType(int)

public int getMessageType(int i)

Get the type of the error message at specified index

Returns
The error message type

getNumMessages()

public int getNumMessages()

Return the total number of errors/warnings found during parsing

Returns
The number of errors/warnings

getPublicId(int)

public java.lang.String getPublicId(int i)

Get the public ID of input when error at specified index occured

Returns
The public ID

getSystemId(int)

public java.lang.String getSystemId(int i)

Get the system ID of input when error at specified index occured

Returns
The system ID


All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

Oracle 9i Topics