KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > easymock > internal > AssertionFailedErrorWrapper


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 import junit.framework.AssertionFailedError;
8
9 public class AssertionFailedErrorWrapper extends RuntimeException JavaDoc {
10     private final AssertionFailedError error;
11
12     public AssertionFailedErrorWrapper(final AssertionFailedError error) {
13         this.error = error;
14     }
15
16     public AssertionFailedError getAssertionFailedError() {
17         return error;
18     }
19 }
20
Popular Tags