RuntimeExceptionWrapper (EasyMock 5.5.0 API)
Date: 2024-11-17

org.easymock.internal

## Class RuntimeExceptionWrapper

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - org.easymock.internal.RuntimeExceptionWrapper

- All Implemented Interfaces:
    Serializable

      public class RuntimeExceptionWrapper
      extends RuntimeException

  Wraps a RuntimeException that was thrown by a method invocation so that EasyMock knows the difference between an invocation exception and an real unexpected one.
  Author:
    OFFIS, Tammo Freese
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RuntimeExceptionWrapper(RuntimeException runtimeException)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `RuntimeException` | `getRuntimeException()`

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

    - #### RuntimeExceptionWrapper

          public RuntimeExceptionWrapper(RuntimeException runtimeException)

  - ### Method Detail

    - #### getRuntimeException

          public RuntimeException getRuntimeException()

Copyright © 2001–2024 EasyMock contributors. All rights reserved.