1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!--NewPage--> 3<HTML> 4<HEAD> 5<!-- Generated by javadoc (build 1.5.0) on Thu May 15 17:17:33 EDT 2008 --> 6<TITLE> 7ExceptionWrapper (Oracle - Berkeley DB Java API) 8</TITLE> 9 10<META NAME="keywords" CONTENT="com.sleepycat.util.ExceptionWrapper interface"> 11 12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../style.css" TITLE="Style"> 13 14<SCRIPT type="text/javascript"> 15function windowTitle() 16{ 17 parent.document.title="ExceptionWrapper (Oracle - Berkeley DB Java API)"; 18} 19</SCRIPT> 20<NOSCRIPT> 21</NOSCRIPT> 22 23</HEAD> 24 25<BODY BGCOLOR="white" onload="windowTitle();"> 26 27 28<!-- ========= START OF TOP NAVBAR ======= --> 29<A NAME="navbar_top"><!-- --></A> 30<A HREF="#skip-navbar_top" title="Skip navigation links"></A> 31<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 32<TR> 33<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 34<A NAME="navbar_top_firstrow"><!-- --></A> 35<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 36 <TR ALIGN="center" VALIGN="top"> 37 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 39 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ExceptionWrapper.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 45 </TR> 46</TABLE> 47</TD> 48<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 49<b>Berkeley DB</b><br><font size="-1"> version 4.7.25</font></EM> 50</TD> 51</TR> 52 53<TR> 54<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 55 <A HREF="../../../com/sleepycat/util/ExceptionUnwrapper.html" title="class in com.sleepycat.util"><B>PREV CLASS</B></A> 56 <A HREF="../../../com/sleepycat/util/FastInputStream.html" title="class in com.sleepycat.util"><B>NEXT CLASS</B></A></FONT></TD> 57<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 58 <A HREF="../../../index.html?com/sleepycat/util/ExceptionWrapper.html" target="_top"><B>FRAMES</B></A> 59 <A HREF="ExceptionWrapper.html" target="_top"><B>NO FRAMES</B></A> 60 <SCRIPT type="text/javascript"> 61 <!-- 62 if(window==top) { 63 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); 64 } 65 //--> 66</SCRIPT> 67<NOSCRIPT> 68 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> 69</NOSCRIPT> 70 71 72</FONT></TD> 73</TR> 74<TR> 75<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 76 SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> 77<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 78DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> 79</TR> 80</TABLE> 81<A NAME="skip-navbar_top"></A> 82<!-- ========= END OF TOP NAVBAR ========= --> 83 84<HR> 85<!-- ======== START OF CLASS DATA ======== --> 86<H2> 87<FONT SIZE="-1"> 88com.sleepycat.util</FONT> 89<BR> 90Interface ExceptionWrapper</H2> 91<DL> 92<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../com/sleepycat/util/IOExceptionWrapper.html" title="class in com.sleepycat.util">IOExceptionWrapper</A>, <A HREF="../../../com/sleepycat/util/RuntimeExceptionWrapper.html" title="class in com.sleepycat.util">RuntimeExceptionWrapper</A></DD> 93</DL> 94<HR> 95<DL> 96<DT><PRE>public interface <B>ExceptionWrapper</B></DL> 97</PRE> 98 99<P> 100Interface implemented by exceptions that can contain nested exceptions. 101<P> 102 103<P> 104<HR> 105 106<P> 107 108<!-- ========== METHOD SUMMARY =========== --> 109 110<A NAME="method_summary"><!-- --></A> 111<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 112<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 113<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 114<B>Method Summary</B></FONT></TH> 115</TR> 116<TR BGCOLOR="white" CLASS="TableRowColor"> 117<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 118<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A></CODE></FONT></TD> 119<TD><CODE><B><A HREF="../../../com/sleepycat/util/ExceptionWrapper.html#getCause()">getCause</A></B>()</CODE> 120 121<BR> 122 Returns the nested exception or null if none is present.</TD> 123</TR> 124<TR BGCOLOR="white" CLASS="TableRowColor"> 125<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 126<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A></CODE></FONT></TD> 127<TD><CODE><B><A HREF="../../../com/sleepycat/util/ExceptionWrapper.html#getDetail()">getDetail</A></B>()</CODE> 128 129<BR> 130 <B>Deprecated.</B> <I>replaced by <A HREF="../../../com/sleepycat/util/ExceptionWrapper.html#getCause()"><CODE>getCause()</CODE></A>.</I></TD> 131</TR> 132</TABLE> 133 134<P> 135 136<!-- ============ METHOD DETAIL ========== --> 137 138<A NAME="method_detail"><!-- --></A> 139<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 140<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 141<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 142<B>Method Detail</B></FONT></TH> 143</TR> 144</TABLE> 145 146<A NAME="getDetail()"><!-- --></A><H3> 147getDetail</H3> 148<PRE> 149<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A> <B>getDetail</B>()</PRE> 150<DL> 151<DD><B>Deprecated.</B> <I>replaced by <A HREF="../../../com/sleepycat/util/ExceptionWrapper.html#getCause()"><CODE>getCause()</CODE></A>.</I> 152<P> 153<DD>Returns the nested exception or null if none is present. 154<P> 155<DD><DL> 156 157<DT><B>Returns:</B><DD>the nested exception or null if none is present.</DL> 158</DD> 159</DL> 160<HR> 161 162<A NAME="getCause()"><!-- --></A><H3> 163getCause</H3> 164<PRE> 165<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A> <B>getCause</B>()</PRE> 166<DL> 167<DD>Returns the nested exception or null if none is present. 168 169 <p>This method is intentionally defined to be the same signature as the 170 <code>java.lang.Throwable.getCause</code> method in Java 1.4 and 171 greater. By defining this method to return a nested exception, the Java 172 1.4 runtime will print the nested stack trace.</p> 173<P> 174<DD><DL> 175 176<DT><B>Returns:</B><DD>the nested exception or null if none is present.</DL> 177</DD> 178</DL> 179<!-- ========= END OF CLASS DATA ========= --> 180<HR> 181 182 183<!-- ======= START OF BOTTOM NAVBAR ====== --> 184<A NAME="navbar_bottom"><!-- --></A> 185<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 186<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 187<TR> 188<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 189<A NAME="navbar_bottom_firstrow"><!-- --></A> 190<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 191 <TR ALIGN="center" VALIGN="top"> 192 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 193 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 194 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 195 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ExceptionWrapper.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 196 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 197 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 198 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 199 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 200 </TR> 201</TABLE> 202</TD> 203<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 204<b>Berkeley DB</b><br><font size="-1"> version 4.7.25</font></EM> 205</TD> 206</TR> 207 208<TR> 209<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 210 <A HREF="../../../com/sleepycat/util/ExceptionUnwrapper.html" title="class in com.sleepycat.util"><B>PREV CLASS</B></A> 211 <A HREF="../../../com/sleepycat/util/FastInputStream.html" title="class in com.sleepycat.util"><B>NEXT CLASS</B></A></FONT></TD> 212<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 213 <A HREF="../../../index.html?com/sleepycat/util/ExceptionWrapper.html" target="_top"><B>FRAMES</B></A> 214 <A HREF="ExceptionWrapper.html" target="_top"><B>NO FRAMES</B></A> 215 <SCRIPT type="text/javascript"> 216 <!-- 217 if(window==top) { 218 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); 219 } 220 //--> 221</SCRIPT> 222<NOSCRIPT> 223 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> 224</NOSCRIPT> 225 226 227</FONT></TD> 228</TR> 229<TR> 230<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 231 SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> 232<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 233DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> 234</TR> 235</TABLE> 236<A NAME="skip-navbar_bottom"></A> 237<!-- ======== END OF BOTTOM NAVBAR ======= --> 238 239<HR> 240<font size=1>Copyright (c) 1996,2008 Oracle. All rights reserved.</font> 241</BODY> 242</HTML> 243