KickJava   Java API By Example, From Geeks To Geeks.

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


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 ThrowableWrapper extends Throwable JavaDoc {
8     private final Throwable JavaDoc throwable;
9
10     public ThrowableWrapper(final Throwable JavaDoc throwable) {
11         this.throwable = throwable;
12     }
13
14     public Throwable JavaDoc getThrowable() {
15         return throwable;
16     }
17 }
18
Popular Tags