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