Package groovy.util

# Class ResourceException

java.lang.Object
java.lang.Throwable
java.lang.Exception
groovy.util.ResourceException

All Implemented Interfaces:
  `Serializable`

public class ResourceException extends Exception
Indicates a problem loading or accessing a resource.

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  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.

- ## Method Summary

  ### Methods inherited from class java.lang.Throwable

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### ResourceException

    public ResourceException()
    Creates a resource exception with no detail message.

  - ### ResourceException

    public ResourceException(String message)
    Creates a resource exception with the supplied detail message.
    Parameters:
      `message` - the detail message

  - ### ResourceException

    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

  - ### ResourceException

    public ResourceException(Throwable cause)
    Creates a resource exception with the supplied cause.
    Parameters:
      `cause` - the underlying cause