PageRenderTime 22ms CodeModel.GetById 9ms app.highlight 10ms RepoModel.GetById 0ms app.codeStats 0ms

/lib/bouncycastle/docs/org/bouncycastle/crypto/CryptoException.html

https://bitbucket.org/arkban/somersault
HTML | 265 lines | 214 code | 30 blank | 21 comment | 0 complexity | 3383374a118f3a19f182b1d0fc8ad31d MD5 | raw file
Possible License(s): LGPL-2.1, BSD-3-Clause, Apache-2.0
  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) on Mon Jan 11 13:46:35 EST 2010 -->
  6<TITLE>
  7CryptoException (Bouncy Castle Library 1.45 API Specification)
  8</TITLE>
  9
 10<META NAME="date" CONTENT="2010-01-11">
 11
 12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.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="CryptoException (Bouncy Castle Library 1.45 API Specification)";
 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>&nbsp;</TD>
 41  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 42  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
 43  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
 44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
 45  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 46  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
 47  </TR>
 48</TABLE>
 49</TD>
 50<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 51<b>Bouncy Castle Cryptography Library 1.45</b></EM>
 52</TD>
 53</TR>
 54
 55<TR>
 56<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 57&nbsp;<A HREF="../../../org/bouncycastle/crypto/CipherParameters.html" title="interface in org.bouncycastle.crypto"><B>PREV CLASS</B></A>&nbsp;
 58&nbsp;<A HREF="../../../org/bouncycastle/crypto/DataLengthException.html" title="class in org.bouncycastle.crypto"><B>NEXT CLASS</B></A></FONT></TD>
 59<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 60  <A HREF="../../../index.html?org/bouncycastle/crypto/CryptoException.html" target="_top"><B>FRAMES</B></A>  &nbsp;
 61&nbsp;<A HREF="CryptoException.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
 62&nbsp;<SCRIPT type="text/javascript">
 63  <!--
 64  if(window==top) {
 65    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
 66  }
 67  //-->
 68</SCRIPT>
 69<NOSCRIPT>
 70  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
 71</NOSCRIPT>
 72
 73
 74</FONT></TD>
 75</TR>
 76<TR>
 77<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 78  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#methods_inherited_from_class_java.lang.Throwable">METHOD</A></FONT></TD>
 79<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 80DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;METHOD</FONT></TD>
 81</TR>
 82</TABLE>
 83<A NAME="skip-navbar_top"></A>
 84<!-- ========= END OF TOP NAVBAR ========= -->
 85
 86<HR>
 87<!-- ======== START OF CLASS DATA ======== -->
 88<H2>
 89<FONT SIZE="-1">
 90org.bouncycastle.crypto</FONT>
 91<BR>
 92Class CryptoException</H2>
 93<PRE>
 94java.lang.Object
 95  <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">java.lang.Throwable
 96      <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">java.lang.Exception
 97          <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.bouncycastle.crypto.CryptoException</B>
 98</PRE>
 99<DL>
100<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
101</DL>
102<DL>
103<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../org/bouncycastle/crypto/InvalidCipherTextException.html" title="class in org.bouncycastle.crypto">InvalidCipherTextException</A></DD>
104</DL>
105<HR>
106<DL>
107<DT><PRE>public class <B>CryptoException</B><DT>extends java.lang.Exception</DL>
108</PRE>
109
110<P>
111the foundation class for the hard exceptions thrown by the crypto packages.
112<P>
113
114<P>
115<DL>
116<DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html#org.bouncycastle.crypto.CryptoException">Serialized Form</A></DL>
117<HR>
118
119<P>
120
121<!-- ======== CONSTRUCTOR SUMMARY ======== -->
122
123<A NAME="constructor_summary"><!-- --></A>
124<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
125<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
126<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
127<B>Constructor Summary</B></FONT></TH>
128</TR>
129<TR BGCOLOR="white" CLASS="TableRowColor">
130<TD><CODE><B><A HREF="../../../org/bouncycastle/crypto/CryptoException.html#CryptoException()">CryptoException</A></B>()</CODE>
131
132<BR>
133&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;base constructor.</TD>
134</TR>
135<TR BGCOLOR="white" CLASS="TableRowColor">
136<TD><CODE><B><A HREF="../../../org/bouncycastle/crypto/CryptoException.html#CryptoException(java.lang.String)">CryptoException</A></B>(java.lang.String&nbsp;message)</CODE>
137
138<BR>
139&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;create a CryptoException with the given message.</TD>
140</TR>
141</TABLE>
142&nbsp;
143<!-- ========== METHOD SUMMARY =========== -->
144
145<A NAME="method_summary"><!-- --></A>
146<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
147<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
148<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
149<B>Method Summary</B></FONT></TH>
150</TR>
151</TABLE>
152&nbsp;<A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A>
153<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
154<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
155<TH ALIGN="left"><B>Methods inherited from class java.lang.Throwable</B></TH>
156</TR>
157<TR BGCOLOR="white" CLASS="TableRowColor">
158<TD><CODE>fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString</CODE></TD>
159</TR>
160</TABLE>
161&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
162<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
163<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
164<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
165</TR>
166<TR BGCOLOR="white" CLASS="TableRowColor">
167<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
168</TR>
169</TABLE>
170&nbsp;
171<P>
172
173<!-- ========= CONSTRUCTOR DETAIL ======== -->
174
175<A NAME="constructor_detail"><!-- --></A>
176<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
177<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
178<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
179<B>Constructor Detail</B></FONT></TH>
180</TR>
181</TABLE>
182
183<A NAME="CryptoException()"><!-- --></A><H3>
184CryptoException</H3>
185<PRE>
186public <B>CryptoException</B>()</PRE>
187<DL>
188<DD>base constructor.
189<P>
190</DL>
191<HR>
192
193<A NAME="CryptoException(java.lang.String)"><!-- --></A><H3>
194CryptoException</H3>
195<PRE>
196public <B>CryptoException</B>(java.lang.String&nbsp;message)</PRE>
197<DL>
198<DD>create a CryptoException with the given message.
199<P>
200<DL>
201<DT><B>Parameters:</B><DD><CODE>message</CODE> - the message to be carried with the exception.</DL>
202</DL>
203<!-- ========= END OF CLASS DATA ========= -->
204<HR>
205
206
207<!-- ======= START OF BOTTOM NAVBAR ====== -->
208<A NAME="navbar_bottom"><!-- --></A>
209<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
210<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
211<TR>
212<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
213<A NAME="navbar_bottom_firstrow"><!-- --></A>
214<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
215  <TR ALIGN="center" VALIGN="top">
216  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
217  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
218  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
219  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
220  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
221  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
222  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
223  </TR>
224</TABLE>
225</TD>
226<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
227<b>Bouncy Castle Cryptography Library 1.45</b></EM>
228</TD>
229</TR>
230
231<TR>
232<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
233&nbsp;<A HREF="../../../org/bouncycastle/crypto/CipherParameters.html" title="interface in org.bouncycastle.crypto"><B>PREV CLASS</B></A>&nbsp;
234&nbsp;<A HREF="../../../org/bouncycastle/crypto/DataLengthException.html" title="class in org.bouncycastle.crypto"><B>NEXT CLASS</B></A></FONT></TD>
235<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
236  <A HREF="../../../index.html?org/bouncycastle/crypto/CryptoException.html" target="_top"><B>FRAMES</B></A>  &nbsp;
237&nbsp;<A HREF="CryptoException.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
238&nbsp;<SCRIPT type="text/javascript">
239  <!--
240  if(window==top) {
241    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
242  }
243  //-->
244</SCRIPT>
245<NOSCRIPT>
246  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
247</NOSCRIPT>
248
249
250</FONT></TD>
251</TR>
252<TR>
253<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
254  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#methods_inherited_from_class_java.lang.Throwable">METHOD</A></FONT></TD>
255<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
256DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;METHOD</FONT></TD>
257</TR>
258</TABLE>
259<A NAME="skip-navbar_bottom"></A>
260<!-- ======== END OF BOTTOM NAVBAR ======= -->
261
262<HR>
263
264</BODY>
265</HTML>