KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ejbca > core > model > ca > MalformedRequestException


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;
15
16 import org.ejbca.core.EjbcaException;
17
18
19
20 /**
21  * Error due to malformed request. The cause of failure can be related to ASN.1 issues etc.
22  *
23  * @version $Id: MalformedRequestException.java,v 1.1 2006/01/17 20:30:56 anatom Exp $
24  */

25 public class MalformedRequestException 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 MalformedRequestException(String JavaDoc message) {
33         super(message);
34     }
35
36     /**
37      * Constructor used to create exception with an embedded exception. Calls the same constructor
38      * in baseclass <code>Exception</code>.
39      *
40      * @param exception exception to be embedded.
41      */

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