All Implemented Interfaces:
Serializable

public class ParserExceptionextends Exception
Exception thrown when XML parsing fails.

This exception is used throughout the XML parsing framework to indicate errors that occur during XML document parsing, including I/O errors, malformed XML, and security violations.

See Also:
  • Constructor Details

    • ParserException

      public ParserException(Exception e)
      Creates a ParserException wrapping another exception.
      Parameters:
      e - the underlying exception that caused this parser exception
    • ParserException

      public ParserException(String s)
      Creates a ParserException with the specified detail message.
      Parameters:
      s - the detail message explaining the parsing error