KickJava   Java API By Example, From Geeks To Geeks.

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


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 JavaDoc {
8     private final RuntimeException JavaDoc runtimeException;
9
10     public RuntimeExceptionWrapper(final RuntimeException JavaDoc runtimeException) {
11         this.runtimeException = runtimeException;
12     }
13
14     public RuntimeException JavaDoc getRuntimeException() {
15         return runtimeException;
16     }
17 }
18
Popular Tags