de.caff.i18n

## Interface ResourcedThrowable

- All Known Implementing Classes:
    ResourcedException, ResourcedRuntimeException

      public interface ResourcedThrowable

  Author:
    Rammi

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getMessage()` Get the message with default locale.
    `java.lang.String` | `getMessage(java.util.Locale l)` Get the message for a locale.
    `java.lang.Throwable` | `getOriginalException()` Get the exception from where this resourced exception originated.
    `void` | `setOriginalException(java.lang.Throwable originalException)` Set the exception from where this resourced exception originated.

- - ### Method Detail

    - #### getMessage

          java.lang.String getMessage()

      Get the message with default locale.
      Returns:
        message

    - #### getMessage

          java.lang.String getMessage(java.util.Locale l)

      Get the message for a locale.
      Parameters:
        `l` - requested locale
      Returns:
        message for the given locale

    - #### getOriginalException

          java.lang.Throwable getOriginalException()

      Get the exception from where this resourced exception originated.
      Returns:
        original exception or `null` if there is no original exception

    - #### setOriginalException

          void setOriginalException(java.lang.Throwable originalException)

      Set the exception from where this resourced exception originated.
      Parameters:
        `originalException` - original exception