/************************************************************************* * * * 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 Public * * 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.ca; import org.cesecore.CesecoreException; import org.cesecore.ErrorCode; /** * An exception thrown when someone tries to use a CA that is offline * * @version $Id: CAOfflineException.java 18868 2014-05-02 06:12:20Z mikekushner $ */ public class CAOfflineException extends CesecoreException { private static final long serialVersionUID = 6138811845234513758L; /** * Creates a new instance of CAOfflineException without detail message. */ public CAOfflineException() { super(); super.setErrorCode(ErrorCode.CA_OFFLINE); } /** * Constructs an instance of CAOfflineException with the specified detail message. * @param msg the detail message. */ public CAOfflineException(String msg) { super(ErrorCode.CA_OFFLINE, msg); } }