TJException.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!-- NewPage -->
  3. <html lang="en">
  4. <head>
  5. <title>TJException</title>
  6. <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
  7. </head>
  8. <body>
  9. <script type="text/javascript"><!--
  10. try {
  11. if (location.href.indexOf('is-external=true') == -1) {
  12. parent.document.title="TJException";
  13. }
  14. }
  15. catch(err) {
  16. }
  17. //-->
  18. </script>
  19. <noscript>
  20. <div>JavaScript is disabled on your browser.</div>
  21. </noscript>
  22. <!-- ========= START OF TOP NAVBAR ======= -->
  23. <div class="topNav"><a name="navbar_top">
  24. <!-- -->
  25. </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
  26. <!-- -->
  27. </a>
  28. <ul class="navList" title="Navigation">
  29. <li><a href="../../../org/libjpegturbo/turbojpeg/package-summary.html">Package</a></li>
  30. <li class="navBarCell1Rev">Class</li>
  31. <li><a href="package-tree.html">Tree</a></li>
  32. <li><a href="../../../deprecated-list.html">Deprecated</a></li>
  33. <li><a href="../../../index-all.html">Index</a></li>
  34. <li><a href="../../../help-doc.html">Help</a></li>
  35. </ul>
  36. </div>
  37. <div class="subNav">
  38. <ul class="navList">
  39. <li><a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html" title="class in org.libjpegturbo.turbojpeg"><span class="strong">Prev Class</span></a></li>
  40. <li><a href="../../../org/libjpegturbo/turbojpeg/TJScalingFactor.html" title="class in org.libjpegturbo.turbojpeg"><span class="strong">Next Class</span></a></li>
  41. </ul>
  42. <ul class="navList">
  43. <li><a href="../../../index.html?org/libjpegturbo/turbojpeg/TJException.html" target="_top">Frames</a></li>
  44. <li><a href="TJException.html" target="_top">No Frames</a></li>
  45. </ul>
  46. <ul class="navList" id="allclasses_navbar_top">
  47. <li><a href="../../../allclasses-noframe.html">All Classes</a></li>
  48. </ul>
  49. <div>
  50. <script type="text/javascript"><!--
  51. allClassesLink = document.getElementById("allclasses_navbar_top");
  52. if(window==top) {
  53. allClassesLink.style.display = "block";
  54. }
  55. else {
  56. allClassesLink.style.display = "none";
  57. }
  58. //-->
  59. </script>
  60. </div>
  61. <div>
  62. <ul class="subNavList">
  63. <li>Summary:&nbsp;</li>
  64. <li>Nested&nbsp;|&nbsp;</li>
  65. <li>Field&nbsp;|&nbsp;</li>
  66. <li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
  67. <li><a href="#method_summary">Method</a></li>
  68. </ul>
  69. <ul class="subNavList">
  70. <li>Detail:&nbsp;</li>
  71. <li>Field&nbsp;|&nbsp;</li>
  72. <li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
  73. <li><a href="#method_detail">Method</a></li>
  74. </ul>
  75. </div>
  76. <a name="skip-navbar_top">
  77. <!-- -->
  78. </a></div>
  79. <!-- ========= END OF TOP NAVBAR ========= -->
  80. <!-- ======== START OF CLASS DATA ======== -->
  81. <div class="header">
  82. <div class="subTitle">org.libjpegturbo.turbojpeg</div>
  83. <h2 title="Class TJException" class="title">Class TJException</h2>
  84. </div>
  85. <div class="contentContainer">
  86. <ul class="inheritance">
  87. <li>java.lang.Object</li>
  88. <li>
  89. <ul class="inheritance">
  90. <li>java.lang.Throwable</li>
  91. <li>
  92. <ul class="inheritance">
  93. <li>java.lang.Exception</li>
  94. <li>
  95. <ul class="inheritance">
  96. <li>java.io.IOException</li>
  97. <li>
  98. <ul class="inheritance">
  99. <li>org.libjpegturbo.turbojpeg.TJException</li>
  100. </ul>
  101. </li>
  102. </ul>
  103. </li>
  104. </ul>
  105. </li>
  106. </ul>
  107. </li>
  108. </ul>
  109. <div class="description">
  110. <ul class="blockList">
  111. <li class="blockList">
  112. <dl>
  113. <dt>All Implemented Interfaces:</dt>
  114. <dd>java.io.Serializable</dd>
  115. </dl>
  116. <hr>
  117. <br>
  118. <pre>public class <span class="strong">TJException</span>
  119. extends java.io.IOException</pre>
  120. <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../serialized-form.html#org.libjpegturbo.turbojpeg.TJException">Serialized Form</a></dd></dl>
  121. </li>
  122. </ul>
  123. </div>
  124. <div class="summary">
  125. <ul class="blockList">
  126. <li class="blockList">
  127. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  128. <ul class="blockList">
  129. <li class="blockList"><a name="constructor_summary">
  130. <!-- -->
  131. </a>
  132. <h3>Constructor Summary</h3>
  133. <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  134. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  135. <tr>
  136. <th class="colOne" scope="col">Constructor and Description</th>
  137. </tr>
  138. <tr class="altColor">
  139. <td class="colOne"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJException.html#TJException()">TJException</a></strong>()</code>&nbsp;</td>
  140. </tr>
  141. <tr class="rowColor">
  142. <td class="colOne"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJException.html#TJException(java.lang.String)">TJException</a></strong>(java.lang.String&nbsp;message)</code>&nbsp;</td>
  143. </tr>
  144. <tr class="altColor">
  145. <td class="colOne"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJException.html#TJException(java.lang.String,%20int)">TJException</a></strong>(java.lang.String&nbsp;message,
  146. int&nbsp;code)</code>&nbsp;</td>
  147. </tr>
  148. <tr class="rowColor">
  149. <td class="colOne"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJException.html#TJException(java.lang.String,%20java.lang.Throwable)">TJException</a></strong>(java.lang.String&nbsp;message,
  150. java.lang.Throwable&nbsp;cause)</code>&nbsp;</td>
  151. </tr>
  152. <tr class="altColor">
  153. <td class="colOne"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJException.html#TJException(java.lang.Throwable)">TJException</a></strong>(java.lang.Throwable&nbsp;cause)</code>&nbsp;</td>
  154. </tr>
  155. </table>
  156. </li>
  157. </ul>
  158. <!-- ========== METHOD SUMMARY =========== -->
  159. <ul class="blockList">
  160. <li class="blockList"><a name="method_summary">
  161. <!-- -->
  162. </a>
  163. <h3>Method Summary</h3>
  164. <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  165. <caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
  166. <tr>
  167. <th class="colFirst" scope="col">Modifier and Type</th>
  168. <th class="colLast" scope="col">Method and Description</th>
  169. </tr>
  170. <tr class="altColor">
  171. <td class="colFirst"><code>int</code></td>
  172. <td class="colLast"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJException.html#getErrorCode()">getErrorCode</a></strong>()</code>
  173. <div class="block">Returns a code (one of <a href="../../../org/libjpegturbo/turbojpeg/TJ.html" title="class in org.libjpegturbo.turbojpeg"><code>TJ.ERR_*</code></a>) indicating the severity of the
  174. last error.</div>
  175. </td>
  176. </tr>
  177. </table>
  178. <ul class="blockList">
  179. <li class="blockList"><a name="methods_inherited_from_class_java.lang.Throwable">
  180. <!-- -->
  181. </a>
  182. <h3>Methods inherited from class&nbsp;java.lang.Throwable</h3>
  183. <code>addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString</code></li>
  184. </ul>
  185. <ul class="blockList">
  186. <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
  187. <!-- -->
  188. </a>
  189. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  190. <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
  191. </ul>
  192. </li>
  193. </ul>
  194. </li>
  195. </ul>
  196. </div>
  197. <div class="details">
  198. <ul class="blockList">
  199. <li class="blockList">
  200. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  201. <ul class="blockList">
  202. <li class="blockList"><a name="constructor_detail">
  203. <!-- -->
  204. </a>
  205. <h3>Constructor Detail</h3>
  206. <a name="TJException()">
  207. <!-- -->
  208. </a>
  209. <ul class="blockList">
  210. <li class="blockList">
  211. <h4>TJException</h4>
  212. <pre>public&nbsp;TJException()</pre>
  213. </li>
  214. </ul>
  215. <a name="TJException(java.lang.String, java.lang.Throwable)">
  216. <!-- -->
  217. </a>
  218. <ul class="blockList">
  219. <li class="blockList">
  220. <h4>TJException</h4>
  221. <pre>public&nbsp;TJException(java.lang.String&nbsp;message,
  222. java.lang.Throwable&nbsp;cause)</pre>
  223. </li>
  224. </ul>
  225. <a name="TJException(java.lang.String)">
  226. <!-- -->
  227. </a>
  228. <ul class="blockList">
  229. <li class="blockList">
  230. <h4>TJException</h4>
  231. <pre>public&nbsp;TJException(java.lang.String&nbsp;message)</pre>
  232. </li>
  233. </ul>
  234. <a name="TJException(java.lang.String, int)">
  235. <!-- -->
  236. </a>
  237. <ul class="blockList">
  238. <li class="blockList">
  239. <h4>TJException</h4>
  240. <pre>public&nbsp;TJException(java.lang.String&nbsp;message,
  241. int&nbsp;code)</pre>
  242. </li>
  243. </ul>
  244. <a name="TJException(java.lang.Throwable)">
  245. <!-- -->
  246. </a>
  247. <ul class="blockListLast">
  248. <li class="blockList">
  249. <h4>TJException</h4>
  250. <pre>public&nbsp;TJException(java.lang.Throwable&nbsp;cause)</pre>
  251. </li>
  252. </ul>
  253. </li>
  254. </ul>
  255. <!-- ============ METHOD DETAIL ========== -->
  256. <ul class="blockList">
  257. <li class="blockList"><a name="method_detail">
  258. <!-- -->
  259. </a>
  260. <h3>Method Detail</h3>
  261. <a name="getErrorCode()">
  262. <!-- -->
  263. </a>
  264. <ul class="blockListLast">
  265. <li class="blockList">
  266. <h4>getErrorCode</h4>
  267. <pre>public&nbsp;int&nbsp;getErrorCode()</pre>
  268. <div class="block">Returns a code (one of <a href="../../../org/libjpegturbo/turbojpeg/TJ.html" title="class in org.libjpegturbo.turbojpeg"><code>TJ.ERR_*</code></a>) indicating the severity of the
  269. last error.</div>
  270. <dl><dt><span class="strong">Returns:</span></dt><dd>a code (one of <a href="../../../org/libjpegturbo/turbojpeg/TJ.html" title="class in org.libjpegturbo.turbojpeg"><code>TJ.ERR_*</code></a>) indicating the severity of the
  271. last error.</dd></dl>
  272. </li>
  273. </ul>
  274. </li>
  275. </ul>
  276. </li>
  277. </ul>
  278. </div>
  279. </div>
  280. <!-- ========= END OF CLASS DATA ========= -->
  281. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  282. <div class="bottomNav"><a name="navbar_bottom">
  283. <!-- -->
  284. </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
  285. <!-- -->
  286. </a>
  287. <ul class="navList" title="Navigation">
  288. <li><a href="../../../org/libjpegturbo/turbojpeg/package-summary.html">Package</a></li>
  289. <li class="navBarCell1Rev">Class</li>
  290. <li><a href="package-tree.html">Tree</a></li>
  291. <li><a href="../../../deprecated-list.html">Deprecated</a></li>
  292. <li><a href="../../../index-all.html">Index</a></li>
  293. <li><a href="../../../help-doc.html">Help</a></li>
  294. </ul>
  295. </div>
  296. <div class="subNav">
  297. <ul class="navList">
  298. <li><a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html" title="class in org.libjpegturbo.turbojpeg"><span class="strong">Prev Class</span></a></li>
  299. <li><a href="../../../org/libjpegturbo/turbojpeg/TJScalingFactor.html" title="class in org.libjpegturbo.turbojpeg"><span class="strong">Next Class</span></a></li>
  300. </ul>
  301. <ul class="navList">
  302. <li><a href="../../../index.html?org/libjpegturbo/turbojpeg/TJException.html" target="_top">Frames</a></li>
  303. <li><a href="TJException.html" target="_top">No Frames</a></li>
  304. </ul>
  305. <ul class="navList" id="allclasses_navbar_bottom">
  306. <li><a href="../../../allclasses-noframe.html">All Classes</a></li>
  307. </ul>
  308. <div>
  309. <script type="text/javascript"><!--
  310. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  311. if(window==top) {
  312. allClassesLink.style.display = "block";
  313. }
  314. else {
  315. allClassesLink.style.display = "none";
  316. }
  317. //-->
  318. </script>
  319. </div>
  320. <div>
  321. <ul class="subNavList">
  322. <li>Summary:&nbsp;</li>
  323. <li>Nested&nbsp;|&nbsp;</li>
  324. <li>Field&nbsp;|&nbsp;</li>
  325. <li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
  326. <li><a href="#method_summary">Method</a></li>
  327. </ul>
  328. <ul class="subNavList">
  329. <li>Detail:&nbsp;</li>
  330. <li>Field&nbsp;|&nbsp;</li>
  331. <li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
  332. <li><a href="#method_detail">Method</a></li>
  333. </ul>
  334. </div>
  335. <a name="skip-navbar_bottom">
  336. <!-- -->
  337. </a></div>
  338. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  339. </body>
  340. </html>