Main Page | Class Hierarchy | Data Structures | Directories | File List | Data Fields | Related Pages

IOExceptionWrapper.java

00001 /*-
00002  * See the file LICENSE for redistribution information.
00003  *
00004  * Copyright (c) 2000-2005
00005  *      Sleepycat Software.  All rights reserved.
00006  *
00007  * $Id: IOExceptionWrapper.java,v 12.2 2005/08/01 20:25:23 mark Exp $
00008  */
00009 
00010 package com.sleepycat.util;
00011 
00012 import java.io.IOException;
00013 
00019 public class IOExceptionWrapper
00020     extends IOException implements ExceptionWrapper {
00021 
00022     private Throwable e;
00023 
00024     public IOExceptionWrapper(Throwable e) {
00025 
00026         super(e.getMessage());
00027         this.e = e;
00028     }
00029 
00033     public Throwable getDetail() {
00034 
00035         return e;
00036     }
00037 
00038     public Throwable getCause() {
00039 
00040         return e;
00041     }
00042 }

Generated on Sun Dec 25 12:14:33 2005 for Berkeley DB 4.4.16 by  doxygen 1.4.2