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.ui.cli; 15 16 /** 17 * Exception throws when an error occurs in an Admin Command (IadminCommand) 18 * 19 * @version $Id: ErrorAdminCommandException.java,v 1.1 2006/01/17 20:28:05 anatom Exp $ 20 */ 21 public class ErrorAdminCommandException extends org.ejbca.core.EjbcaException { 22 /** 23 * Creates a new instance of ErrorAdminCommandException 24 * 25 * @param message error message 26 */ 27 public ErrorAdminCommandException(String message) { 28 super(message); 29 } 30 31 /** 32 * Creates a new instance of ErrorAdminCommandException 33 * 34 * @param exception root cause of error 35 */ 36 public ErrorAdminCommandException(Exception exception) { 37 super(exception); 38 } 39 } 40