Package de.gebit.integrity.runner.wrapper

## Class ExceptionWrapper

- java.lang.Object
- - de.gebit.integrity.runner.wrapper.ExceptionWrapper

-     public class ExceptionWrapper
      extends Object

  This wrapper is used to store the information from an exception like `AbortExecutionException`. The exception cannot be transmitted over the remoting, since it cannot be guaranteed to match between versions for serialization purposes. Instead, the important information is extracted out of it and wrapped inside this object.
  Author:
    Rene Schneider - initial API and implementation

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ExceptionWrapper​(String aMessage, String aStackTrace)` | Creates an instance from the raw data.
    `ExceptionWrapper​(Throwable anException)` | Creates an instance from the exception itself.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | `getMessage()` |
    `String` | `getStackTrace()` |

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

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

- - ### Constructor Detail

    - #### ExceptionWrapper

          public ExceptionWrapper​(String aMessage,
                                  String aStackTrace)

      Creates an instance from the raw data.
      Parameters:
        `aMessage` - the message
        `aStackTrace` - the stack trace string

    - #### ExceptionWrapper

          public ExceptionWrapper​(Throwable anException)

      Creates an instance from the exception itself.
      Parameters:
        `anException` - the exception to use as a base

  - ### Method Detail

    - #### getMessage

          public String getMessage()

    - #### getStackTrace

          public String getStackTrace()