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