Package groovy.yaml

Class YamlRuntimeException

All Implemented Interfaces:
Serializable

public class YamlRuntimeException extends GroovyRuntimeException
Represents a runtime exception raised while parsing or building YAML.
Since:
3.0.0
See Also:
  • Constructor Details

    • YamlRuntimeException

      public YamlRuntimeException(String msg)
      Creates an exception with a detail message.
      Parameters:
      msg - the description of the failure
    • YamlRuntimeException

      public YamlRuntimeException(Throwable cause)
      Creates an exception that wraps the underlying cause.
      Parameters:
      cause - the original failure
    • YamlRuntimeException

      public YamlRuntimeException(String msg, Throwable cause)
      Creates an exception with both a detail message and an underlying cause.
      Parameters:
      msg - the description of the failure
      cause - the original failure