/************************************************************************* * * * CESeCore: CE Security Core * * * * This software is free software; you can redistribute it and/or * * modify it under the terms of the GNU Lesser General * * License as published by the Free Software Foundation; either * * version 2.1 of the License, or any later version. * * * * See terms of license at gnu.org. * * * *************************************************************************/ package org.cesecore.certificates.certificate; import javax.ejb.ApplicationException; import org.cesecore.CesecoreException; /** Thrown if there is an error revoking a certificate, causes rollback. * * @version $Id: CertificateRevokeException.java 17625 2013-09-20 07:12:06Z netmackan $ */ @ApplicationException(rollback=true) public class CertificateRevokeException extends CesecoreException { private static final long serialVersionUID = 1L; /** * Constructor used to create exception with an errormessage. Calls the same constructor in * baseclass Exception. * * @param message Human redable error message, can not be NULL. */ public CertificateRevokeException(String message) { super(message); } /** * Constructs an instance of IllegalKeyException with the specified cause. * @param msg the detail message. */ public CertificateRevokeException(Exception e) { super(e); } }