01: /*************************************************************************
02: * *
03: * EJBCA: The OpenSource Certificate Authority *
04: * *
05: * This software is free software; you can redistribute it and/or *
06: * modify it under the terms of the GNU Lesser General Public *
07: * License as published by the Free Software Foundation; either *
08: * version 2.1 of the License, or any later version. *
09: * *
10: * See terms of license at gnu.org. *
11: * *
12: *************************************************************************/package org.ejbca.core.model.ca;
13:
14: import org.ejbca.core.EjbcaException;
15:
16: /**
17: * Error due to some part of the request is not supported.
18: *
19: * @version $Id: NotSupportedException.java,v 1.1 2006/01/17 20:30:56 anatom Exp $
20: */
21: public class NotSupportedException extends EjbcaException {
22: /**
23: * Constructor used to create exception with an errormessage. Calls the same constructor in
24: * baseclass <code>Exception</code>.
25: *
26: * @param message Human redable error message, can not be NULL.
27: */
28: public NotSupportedException(String message) {
29: super (message);
30: }
31:
32: /**
33: * Constructor used to create exception with an embedded exception. Calls the same constructor
34: * in baseclass <code>Exception</code>.
35: *
36: * @param exception exception to be embedded.
37: */
38: public NotSupportedException(Exception exception) {
39: super(exception);
40: }
41: }
|