Package groovy.toml

Class TomlRuntimeException

All Implemented Interfaces:
Serializable

@Incubating public class TomlRuntimeException extends GroovyRuntimeException
Represents a runtime exception raised while parsing or building TOML.
Since:
4.0.0
See Also:
  • Constructor Details

    • TomlRuntimeException

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

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

      public TomlRuntimeException(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