|
|||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
RuntimeExceptionWrapper.java | - | 100% | 100% | 100% |
|
1 | /* | |
2 | * Copyright (c) 2001-2005 OFFIS. This program is made available under the terms of | |
3 | * the MIT License. | |
4 | */ | |
5 | package org.easymock.internal; | |
6 | ||
7 | public class RuntimeExceptionWrapper extends RuntimeException { | |
8 | private final RuntimeException runtimeException; | |
9 | ||
10 | 150 | public RuntimeExceptionWrapper(final RuntimeException runtimeException) { |
11 | 150 | this.runtimeException = runtimeException; |
12 | } | |
13 | ||
14 | 146 | public RuntimeException getRuntimeException() { |
15 | 146 | return runtimeException; |
16 | } | |
17 | } |
|