KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sourceforge > lightcrypto > CryptoException


1 /*
2   Name: net.sourceforge.lightcrypto.CryptoException
3   Licensing: LGPL (lesser GNU Public License)
4   API: Bouncy Castle (http://www.bouncycastle.org) lightweight API
5
6   Disclaimer:
7
8   COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTY OF ANY KIND,
9   EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE
10   IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE
11   RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE IS WITH YOU. SHOULD ANY COVERED CODE
12   PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR)
13   ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY
14   CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED CODE IS AUTHORIZED
15   HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
16
17   (C) Copyright 2003 Gert Van Ham
18
19 */

20
21 package net.sourceforge.lightcrypto;
22
23 /**
24  * This exception is thrown when encrypting/decrypting string or files went wrong
25  *
26  * @author Gert Van Ham
27  * @author hamgert@users.sourceforge.net
28  * @author http://jcetaglib.sourceforge.net
29  * @version $Id: CryptoException.java,v 1.2 2003/10/05 11:41:29 hamgert Exp $
30  */

31
32 public class CryptoException extends Exception JavaDoc {
33     /**
34      * base constructor.
35      */

36     public CryptoException() {
37     }
38
39     /**
40      * create a CryptoException with the given message.
41      *
42      * @param message the message to be carried with the exception.
43      */

44     public CryptoException (String JavaDoc message) {
45         super(message);
46     }
47 }
48
Popular Tags