ParserConfigurationException

  • ParserConfigurationException signals serious configuration errors during XML parsing.

  • It extends the Exception class and provides constructors to create instances with or without detailed error messages.

  • It inherits methods from Throwable for stack trace and error handling, and from Object for basic object operations.

  • Two public constructors allow instantiation with or without a specific error message.

public class ParserConfigurationException extends Exception

Indicates a serious configuration error.

Public Constructor Summary

ParserConfigurationException()
Create a new ParserConfigurationException with no detail message.
ParserConfigurationException(String msg)
Create a new ParserConfigurationException with the String specified as an error message.

Inherited Method Summary

Public Constructors

public ParserConfigurationException ()

Create a new ParserConfigurationException with no detail message.

public ParserConfigurationException (String msg)

Create a new ParserConfigurationException with the String specified as an error message.

Parameters
msg The error message for the exception.