IOExceptionWithCause.html 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!-- NewPage -->
  3. <html lang="de">
  4. <head>
  5. <!-- Generated by javadoc -->
  6. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  7. <title>IOExceptionWithCause (Apache Commons IO 2.6 API)</title>
  8. <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
  9. <script type="text/javascript" src="../../../../script.js"></script>
  10. </head>
  11. <body>
  12. <script type="text/javascript"><!--
  13. try {
  14. if (location.href.indexOf('is-external=true') == -1) {
  15. parent.document.title="IOExceptionWithCause (Apache Commons IO 2.6 API)";
  16. }
  17. }
  18. catch(err) {
  19. }
  20. //-->
  21. </script>
  22. <noscript>
  23. <div>JavaScript is disabled on your browser.</div>
  24. </noscript>
  25. <!-- ========= START OF TOP NAVBAR ======= -->
  26. <div class="topNav"><a name="navbar.top">
  27. <!-- -->
  28. </a>
  29. <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
  30. <a name="navbar.top.firstrow">
  31. <!-- -->
  32. </a>
  33. <ul class="navList" title="Navigation">
  34. <li><a href="../../../../overview-summary.html">Overview</a></li>
  35. <li><a href="package-summary.html">Package</a></li>
  36. <li class="navBarCell1Rev">Class</li>
  37. <li><a href="class-use/IOExceptionWithCause.html">Use</a></li>
  38. <li><a href="package-tree.html">Tree</a></li>
  39. <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
  40. <li><a href="../../../../index-all.html">Index</a></li>
  41. <li><a href="../../../../help-doc.html">Help</a></li>
  42. </ul>
  43. </div>
  44. <div class="subNav">
  45. <ul class="navList">
  46. <li><a href="../../../../org/apache/commons/io/IOCase.html" title="enum in org.apache.commons.io"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  47. <li><a href="../../../../org/apache/commons/io/IOUtils.html" title="class in org.apache.commons.io"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  48. </ul>
  49. <ul class="navList">
  50. <li><a href="../../../../index.html?org/apache/commons/io/IOExceptionWithCause.html" target="_top">Frames</a></li>
  51. <li><a href="IOExceptionWithCause.html" target="_top">No&nbsp;Frames</a></li>
  52. </ul>
  53. <ul class="navList" id="allclasses_navbar_top">
  54. <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  55. </ul>
  56. <div>
  57. <script type="text/javascript"><!--
  58. allClassesLink = document.getElementById("allclasses_navbar_top");
  59. if(window==top) {
  60. allClassesLink.style.display = "block";
  61. }
  62. else {
  63. allClassesLink.style.display = "none";
  64. }
  65. //-->
  66. </script>
  67. </div>
  68. <div>
  69. <ul class="subNavList">
  70. <li>Summary:&nbsp;</li>
  71. <li>Nested&nbsp;|&nbsp;</li>
  72. <li>Field&nbsp;|&nbsp;</li>
  73. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  74. <li><a href="#methods.inherited.from.class.java.lang.Throwable">Method</a></li>
  75. </ul>
  76. <ul class="subNavList">
  77. <li>Detail:&nbsp;</li>
  78. <li>Field&nbsp;|&nbsp;</li>
  79. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  80. <li>Method</li>
  81. </ul>
  82. </div>
  83. <a name="skip.navbar.top">
  84. <!-- -->
  85. </a></div>
  86. <!-- ========= END OF TOP NAVBAR ========= -->
  87. <!-- ======== START OF CLASS DATA ======== -->
  88. <div class="header">
  89. <div class="subTitle">org.apache.commons.io</div>
  90. <h2 title="Class IOExceptionWithCause" class="title">Class IOExceptionWithCause</h2>
  91. </div>
  92. <div class="contentContainer">
  93. <ul class="inheritance">
  94. <li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
  95. <li>
  96. <ul class="inheritance">
  97. <li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">java.lang.Throwable</a></li>
  98. <li>
  99. <ul class="inheritance">
  100. <li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">java.lang.Exception</a></li>
  101. <li>
  102. <ul class="inheritance">
  103. <li><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">java.io.IOException</a></li>
  104. <li>
  105. <ul class="inheritance">
  106. <li>org.apache.commons.io.IOExceptionWithCause</li>
  107. </ul>
  108. </li>
  109. </ul>
  110. </li>
  111. </ul>
  112. </li>
  113. </ul>
  114. </li>
  115. </ul>
  116. <div class="description">
  117. <ul class="blockList">
  118. <li class="blockList">
  119. <dl>
  120. <dt>All Implemented Interfaces:</dt>
  121. <dd><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></dd>
  122. </dl>
  123. <dl>
  124. <dt>Direct Known Subclasses:</dt>
  125. <dd><a href="../../../../org/apache/commons/io/TaggedIOException.html" title="class in org.apache.commons.io">TaggedIOException</a></dd>
  126. </dl>
  127. <hr>
  128. <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
  129. <div class="block"><span class="deprecationComment">(since 2.5) use <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><code>IOException</code></a> instead</span></div>
  130. </div>
  131. <br>
  132. <pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
  133. public class <span class="typeNameLabel">IOExceptionWithCause</span>
  134. extends <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
  135. <div class="block">Subclasses IOException with the <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang"><code>Throwable</code></a> constructors missing before Java 6.</div>
  136. <dl>
  137. <dt><span class="simpleTagLabel">Since:</span></dt>
  138. <dd>1.4</dd>
  139. <dt><span class="seeLabel">See Also:</span></dt>
  140. <dd><a href="../../../../serialized-form.html#org.apache.commons.io.IOExceptionWithCause">Serialized Form</a></dd>
  141. </dl>
  142. </li>
  143. </ul>
  144. </div>
  145. <div class="summary">
  146. <ul class="blockList">
  147. <li class="blockList">
  148. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  149. <ul class="blockList">
  150. <li class="blockList"><a name="constructor.summary">
  151. <!-- -->
  152. </a>
  153. <h3>Constructor Summary</h3>
  154. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  155. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  156. <tr>
  157. <th class="colOne" scope="col">Constructor and Description</th>
  158. </tr>
  159. <tr class="altColor">
  160. <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/io/IOExceptionWithCause.html#IOExceptionWithCause-java.lang.String-java.lang.Throwable-">IOExceptionWithCause</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;message,
  161. <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;cause)</code>
  162. <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
  163. <div class="block">Constructs a new instance with the given message and cause.</div>
  164. </td>
  165. </tr>
  166. <tr class="rowColor">
  167. <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/apache/commons/io/IOExceptionWithCause.html#IOExceptionWithCause-java.lang.Throwable-">IOExceptionWithCause</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;cause)</code>
  168. <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
  169. <div class="block">Constructs a new instance with the given cause.</div>
  170. </td>
  171. </tr>
  172. </table>
  173. </li>
  174. </ul>
  175. <!-- ========== METHOD SUMMARY =========== -->
  176. <ul class="blockList">
  177. <li class="blockList"><a name="method.summary">
  178. <!-- -->
  179. </a>
  180. <h3>Method Summary</h3>
  181. <ul class="blockList">
  182. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Throwable">
  183. <!-- -->
  184. </a>
  185. <h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></h3>
  186. <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#addSuppressed-java.lang.Throwable-" title="class or interface in java.lang">addSuppressed</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#fillInStackTrace--" title="class or interface in java.lang">fillInStackTrace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#getCause--" title="class or interface in java.lang">getCause</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#getLocalizedMessage--" title="class or interface in java.lang">getLocalizedMessage</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#getMessage--" title="class or interface in java.lang">getMessage</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#getStackTrace--" title="class or interface in java.lang">getStackTrace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#getSuppressed--" title="class or interface in java.lang">getSuppressed</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#initCause-java.lang.Throwable-" title="class or interface in java.lang">initCause</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace--" title="class or interface in java.lang">printStackTrace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace-java.io.PrintStream-" title="class or interface in java.lang">printStackTrace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace-java.io.PrintWriter-" title="class or interface in java.lang">printStackTrace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#setStackTrace-java.lang.StackTraceElement:A-" title="class or interface in java.lang">setStackTrace</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code></li>
  187. </ul>
  188. <ul class="blockList">
  189. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  190. <!-- -->
  191. </a>
  192. <h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
  193. <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
  194. </ul>
  195. </li>
  196. </ul>
  197. </li>
  198. </ul>
  199. </div>
  200. <div class="details">
  201. <ul class="blockList">
  202. <li class="blockList">
  203. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  204. <ul class="blockList">
  205. <li class="blockList"><a name="constructor.detail">
  206. <!-- -->
  207. </a>
  208. <h3>Constructor Detail</h3>
  209. <a name="IOExceptionWithCause-java.lang.String-java.lang.Throwable-">
  210. <!-- -->
  211. </a>
  212. <ul class="blockList">
  213. <li class="blockList">
  214. <h4>IOExceptionWithCause</h4>
  215. <pre>public&nbsp;IOExceptionWithCause(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;message,
  216. <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;cause)</pre>
  217. <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
  218. <div class="block">Constructs a new instance with the given message and cause.
  219. <p>
  220. As specified in <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang"><code>Throwable</code></a>, the message in the given <code>cause</code> is not used in this instance's
  221. message.
  222. </p></div>
  223. <dl>
  224. <dt><span class="paramLabel">Parameters:</span></dt>
  225. <dd><code>message</code> - the message (see <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#getMessage--" title="class or interface in java.lang"><code>Throwable.getMessage()</code></a>)</dd>
  226. <dd><code>cause</code> - the cause (see <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#getCause--" title="class or interface in java.lang"><code>Throwable.getCause()</code></a>). A <code>null</code> value is allowed.</dd>
  227. </dl>
  228. </li>
  229. </ul>
  230. <a name="IOExceptionWithCause-java.lang.Throwable-">
  231. <!-- -->
  232. </a>
  233. <ul class="blockListLast">
  234. <li class="blockList">
  235. <h4>IOExceptionWithCause</h4>
  236. <pre>public&nbsp;IOExceptionWithCause(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;cause)</pre>
  237. <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
  238. <div class="block">Constructs a new instance with the given cause.
  239. <p>
  240. The message is set to <code>cause==null ? null : cause.toString()</code>, which by default contains the class
  241. and message of <code>cause</code>. This constructor is useful for call sites that just wrap another throwable.
  242. </p></div>
  243. <dl>
  244. <dt><span class="paramLabel">Parameters:</span></dt>
  245. <dd><code>cause</code> - the cause (see <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true#getCause--" title="class or interface in java.lang"><code>Throwable.getCause()</code></a>). A <code>null</code> value is allowed.</dd>
  246. </dl>
  247. </li>
  248. </ul>
  249. </li>
  250. </ul>
  251. </li>
  252. </ul>
  253. </div>
  254. </div>
  255. <!-- ========= END OF CLASS DATA ========= -->
  256. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  257. <div class="bottomNav"><a name="navbar.bottom">
  258. <!-- -->
  259. </a>
  260. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  261. <a name="navbar.bottom.firstrow">
  262. <!-- -->
  263. </a>
  264. <ul class="navList" title="Navigation">
  265. <li><a href="../../../../overview-summary.html">Overview</a></li>
  266. <li><a href="package-summary.html">Package</a></li>
  267. <li class="navBarCell1Rev">Class</li>
  268. <li><a href="class-use/IOExceptionWithCause.html">Use</a></li>
  269. <li><a href="package-tree.html">Tree</a></li>
  270. <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
  271. <li><a href="../../../../index-all.html">Index</a></li>
  272. <li><a href="../../../../help-doc.html">Help</a></li>
  273. </ul>
  274. </div>
  275. <div class="subNav">
  276. <ul class="navList">
  277. <li><a href="../../../../org/apache/commons/io/IOCase.html" title="enum in org.apache.commons.io"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  278. <li><a href="../../../../org/apache/commons/io/IOUtils.html" title="class in org.apache.commons.io"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  279. </ul>
  280. <ul class="navList">
  281. <li><a href="../../../../index.html?org/apache/commons/io/IOExceptionWithCause.html" target="_top">Frames</a></li>
  282. <li><a href="IOExceptionWithCause.html" target="_top">No&nbsp;Frames</a></li>
  283. </ul>
  284. <ul class="navList" id="allclasses_navbar_bottom">
  285. <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  286. </ul>
  287. <div>
  288. <script type="text/javascript"><!--
  289. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  290. if(window==top) {
  291. allClassesLink.style.display = "block";
  292. }
  293. else {
  294. allClassesLink.style.display = "none";
  295. }
  296. //-->
  297. </script>
  298. </div>
  299. <div>
  300. <ul class="subNavList">
  301. <li>Summary:&nbsp;</li>
  302. <li>Nested&nbsp;|&nbsp;</li>
  303. <li>Field&nbsp;|&nbsp;</li>
  304. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  305. <li><a href="#methods.inherited.from.class.java.lang.Throwable">Method</a></li>
  306. </ul>
  307. <ul class="subNavList">
  308. <li>Detail:&nbsp;</li>
  309. <li>Field&nbsp;|&nbsp;</li>
  310. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  311. <li>Method</li>
  312. </ul>
  313. </div>
  314. <a name="skip.navbar.bottom">
  315. <!-- -->
  316. </a></div>
  317. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  318. <p class="legalCopy"><small>Copyright &#169; 2002&#x2013;2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
  319. </body>
  320. </html>