catokenofflineexception.java

来自「用来生成java证书」· Java 代码 · 共 45 行

JAVA
45
字号
/************************************************************************* *                                                                       * *  EJBCA: The OpenSource Certificate Authority                          * *                                                                       * *  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.ejbca.core.model.ca.catoken;import org.ejbca.core.EjbcaException;import org.ejbca.core.ErrorCode;/** * An exception thrown when someone tries to use a CA Token that isn't available * * @author  Philip Vendil * @version $Id: CATokenOfflineException.java 6059 2008-08-18 15:14:49Z dgalichet $ */public class CATokenOfflineException extends EjbcaException {        /**     * Creates a new instance of <code>CATokenOfflineException</code> without detail message.     */    public CATokenOfflineException() {        super();        super.setErrorCode(ErrorCode.CA_OFFLINE);    }            /**     * Constructs an instance of <code>CATokenOfflineException</code> with the specified detail message.     * @param msg the detail message.     */    public CATokenOfflineException(String msg) {        super(ErrorCode.CA_OFFLINE, msg);    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?