Package: groovy.toml

## [Java] Class TomlRuntimeException

- groovy.toml.TomlRuntimeException

-     @Incubating
      public class TomlRuntimeException
      extends GroovyRuntimeException

  Represents a runtime exception raised while parsing or building TOML.

  Since:
    4.0.0

- - ### Constructor Summary

    Constructors
    Constructor and description
    `TomlRuntimeException(String msg)` Creates an exception with a detail message.
    `TomlRuntimeException(Throwable cause)` Creates an exception that wraps the underlying cause.
    `TomlRuntimeException(String msg, Throwable cause)` Creates an exception with both a detail message and an underlying cause.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class GroovyRuntimeException` | `getLocationText, getMessage, getMessageWithoutLocationText, getModule, getNode, setModule`

- - ### Constructor Detail

    - #### public TomlRuntimeException(String msg)

      Creates an exception with a detail message.

      Parameters:
        `msg` - the description of the failure

    - #### public TomlRuntimeException(Throwable cause)

      Creates an exception that wraps the underlying cause.

      Parameters:
        `cause` - the original failure

    - #### 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