Package: groovy.util

## [Java] Class ResourceException

- groovy.util.ResourceException

-     public class ResourceException
      extends Exception

  Indicates a problem loading or accessing a resource.

- - ### Constructor Summary

    Constructors
    Constructor and description
    `ResourceException()` Creates a resource exception with no detail message.
    `ResourceException(String message)` Creates a resource exception with the supplied detail message.
    `ResourceException(String message, Throwable cause)` Creates a resource exception with the supplied detail message and cause.
    `ResourceException(Throwable cause)` Creates a resource exception with the supplied cause.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Exception` | `addSuppressed, equals, fillInStackTrace, getCause, getClass, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, hashCode, initCause, notify, notifyAll, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### public ResourceException()

      Creates a resource exception with no detail message.

    - #### public ResourceException(String message)

      Creates a resource exception with the supplied detail message.

      Parameters:
        `message` - the detail message

    - #### public ResourceException(String message, Throwable cause)

      Creates a resource exception with the supplied detail message and cause.

      Parameters:
        `message` - the detail message
        `cause` - the underlying cause

    - #### public ResourceException(Throwable cause)

      Creates a resource exception with the supplied cause.

      Parameters:
        `cause` - the underlying cause