Class ConfigXMLParseException

All Implemented Interfaces:
Serializable

public class ConfigXMLParseException extends XMLStreamException
Author:
David M. Lloyd
See Also:
  • Constructor Details

    • ConfigXMLParseException

      public ConfigXMLParseException()
      Constructs a new ConfigXMLParseException instance. The message is left blank (null), and no cause is specified.
    • ConfigXMLParseException

      public ConfigXMLParseException(String msg)
      Constructs a new ConfigXMLParseException instance with an initial message. No cause is specified.
      Parameters:
      msg - the message
    • ConfigXMLParseException

      public ConfigXMLParseException(Throwable cause)
      Constructs a new ConfigXMLParseException instance with an initial cause. If a non-null cause is specified, its message is used to initialize the message of this ConfigXMLParseException; otherwise the message is left blank (null).
      Parameters:
      cause - the cause
    • ConfigXMLParseException

      public ConfigXMLParseException(String msg, Throwable cause)
      Constructs a new ConfigXMLParseException instance with an initial message and cause.
      Parameters:
      msg - the message
      cause - the cause
    • ConfigXMLParseException

      public ConfigXMLParseException(Location location)
      Constructs a new ConfigXMLParseException instance. The message is left blank (null), and no cause is specified.
      Parameters:
      location - the location of the exception
    • ConfigXMLParseException

      public ConfigXMLParseException(String msg, Location location)
      Constructs a new ConfigXMLParseException instance with an initial message. No cause is specified.
      Parameters:
      msg - the message
      location - the location of the exception
    • ConfigXMLParseException

      public ConfigXMLParseException(Throwable cause, Location location)
      Constructs a new ConfigXMLParseException instance with an initial cause. If a non-null cause is specified, its message is used to initialize the message of this ConfigXMLParseException; otherwise the message is left blank (null).
      Parameters:
      cause - the cause
      location - the location of the exception
    • ConfigXMLParseException

      public ConfigXMLParseException(String msg, Location location, Throwable cause)
      Constructs a new ConfigXMLParseException instance with an initial message and cause.
      Parameters:
      msg - the message
      location - the location of the exception
      cause - the cause
    • ConfigXMLParseException

      public ConfigXMLParseException(XMLStreamReader reader)
      Constructs a new ConfigXMLParseException instance. The message is left blank (null), and no cause is specified.
      Parameters:
      reader - an XML reader at the position of the problem
    • ConfigXMLParseException

      public ConfigXMLParseException(String msg, XMLStreamReader reader)
      Constructs a new ConfigXMLParseException instance with an initial message. No cause is specified.
      Parameters:
      msg - the message
      reader - an XML reader at the position of the problem
    • ConfigXMLParseException

      public ConfigXMLParseException(Throwable cause, XMLStreamReader reader)
      Constructs a new ConfigXMLParseException instance with an initial cause. If a non-null cause is specified, its message is used to initialize the message of this ConfigXMLParseException; otherwise the message is left blank (null).
      Parameters:
      cause - the cause
      reader - an XML reader at the position of the problem
    • ConfigXMLParseException

      public ConfigXMLParseException(String msg, XMLStreamReader reader, Throwable cause)
      Constructs a new ConfigXMLParseException instance with an initial message and cause.
      Parameters:
      msg - the message
      reader - an XML reader at the position of the problem
      cause - the cause
  • Method Details

    • getLocation

      public XMLLocation getLocation()
      Get the location of this exception.
      Overrides:
      getLocation in class XMLStreamException
      Returns:
      the location of this exception
    • setLocation

      protected void setLocation(XMLLocation location)
      Set the location of this exception.
      Parameters:
      location - the location of this exception