KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > h2 > message > InternalException


1 /*
2  * Copyright 2004-2006 H2 Group. Licensed under the H2 License, Version 1.0 (http://h2database.com/html/license.html).
3  * Initial Developer: H2 Group
4  */

5 package org.h2.message;
6
7 public class InternalException extends RuntimeException JavaDoc {
8
9     private static final long serialVersionUID = -5369631382082604330L;
10     private Exception JavaDoc cause;
11
12     public InternalException(Exception JavaDoc e) {
13         cause = e;
14     }
15     
16     public Exception JavaDoc getOriginalCause() {
17         return cause;
18     }
19 }
20
Popular Tags