|
|||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| AssertionErrorWrapper.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 AssertionErrorWrapper extends RuntimeException { | |
| 8 | private final AssertionError error; | |
| 9 | ||
| 10 | 53 | public AssertionErrorWrapper(AssertionError error) { |
| 11 | 53 | this.error = error; |
| 12 | } | |
| 13 | ||
| 14 | 53 | public AssertionError getAssertionError() { |
| 15 | 53 | return error; |
| 16 | } | |
| 17 | } |
|
||||||||||