Package com.enonic.xp.resource

## Class ResourceError

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Error
    - - com.enonic.xp.resource.ResourceError

- All Implemented Interfaces:
    `Serializable`

      public class ResourceError
      extends Error

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ResourceError​(ResourceKey resourceKey, String message)` |
    `ResourceError​(ResourceKey resourceKey, String message, Error cause)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `ResourceKey` | `getResourceKey()` |

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

    - #### ResourceError

          public ResourceError​(ResourceKey resourceKey,
                               String message)

    - #### ResourceError

          public ResourceError​(ResourceKey resourceKey,
                               String message,
                               Error cause)

  - ### Method Detail

    - #### getResourceKey

          public ResourceKey getResourceKey()