Package groovy.xml

Class XmlRuntimeException

All Implemented Interfaces:
Serializable

@Incubating public class XmlRuntimeException extends GroovyRuntimeException
Represents a runtime exception that occurred when parsing or building XML.
Since:
6.0.0
See Also:
  • Constructor Details

    • XmlRuntimeException

      public XmlRuntimeException(String msg)
      Creates a new exception with a detail message.
      Parameters:
      msg - the detail message
    • XmlRuntimeException

      public XmlRuntimeException(Throwable cause)
      Creates a new exception wrapping the supplied cause.
      Parameters:
      cause - the underlying parsing or building failure
    • XmlRuntimeException

      public XmlRuntimeException(String msg, Throwable cause)
      Creates a new exception with a detail message and cause.
      Parameters:
      msg - the detail message
      cause - the underlying parsing or building failure