KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ejbca > core > model > ca > caadmin > IllegalKeyStoreException


1 /*************************************************************************
2  * *
3  * EJBCA: The OpenSource Certificate Authority *
4  * *
5  * This software is free software; you can redistribute it and/or *
6  * modify it under the terms of the GNU Lesser General Public *
7  * License as published by the Free Software Foundation; either *
8  * version 2.1 of the License, or any later version. *
9  * *
10  * See terms of license at gnu.org. *
11  * *
12  *************************************************************************/

13  
14 package org.ejbca.core.model.ca.caadmin;
15
16 import org.ejbca.core.EjbcaException;
17
18
19
20 /**
21  * Error due to malformed key store. The cause of failure can be related to illegal key length etc.
22  *
23  * @version $Id: IllegalKeyStoreException.java,v 1.1 2006/01/17 20:28:05 anatom Exp $
24  */

25 public class IllegalKeyStoreException extends EjbcaException {
26     /**
27      * Constructor used to create exception with an errormessage. Calls the same constructor in
28      * baseclass <code>Exception</code>.
29      *
30      * @param message Human redable error message, can not be NULL.
31      */

32     public IllegalKeyStoreException(String JavaDoc message) {
33         super(message);
34     }
35     /**
36      * Constructor used to create exception with an embedded exception. Calls the same constructor
37      * in baseclass <code>Exception</code>.
38      *
39      * @param exception exception to be embedded.
40      */

41     public IllegalKeyStoreException(Exception JavaDoc exception) {
42         super(exception);
43     }
44 }
45
Popular Tags