XmlPullParserException

  • XmlPullParserException is a class that signals faults related to the XML Pull Parser.

  • It provides methods to access details about the exception, such as column and line numbers.

  • The exception can be constructed with a message, an XmlPullParser instance, and a chained throwable.

  • It inherits methods from Throwable for stack trace and error handling.

public class XmlPullParserException extends Exception

This exception is thrown to signal XML Pull Parser related faults.

Field Summary

protected int column
protected Throwable detail
protected int row

Public Constructor Summary

XmlPullParserException(String msg, XmlPullParser parser, Throwable chain)

Public Method Summary

int
Throwable
int
void

Inherited Method Summary

Fields

protected int column

protected Throwable detail

protected int row

Public Constructors

public XmlPullParserException (String s)

Parameters
s

public XmlPullParserException (String msg, XmlPullParser parser, Throwable chain)

Parameters
msg
parser
chain

Public Methods

public int getColumnNumber ()

public Throwable getDetail ()

public int getLineNumber ()

public void printStackTrace ()