/************************************************************************* * * * 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 org.cesecore.CesecoreException; /** * Error due to malformed key. The cause of failure can be related to illegal key length etc. * * @version $Id: IllegalKeyException.java 18578 2014-03-10 09:44:39Z anatom $ */ public class IllegalKeyException extends CesecoreException { private static final long serialVersionUID = -3144774253953346584L; public IllegalKeyException(String message, Throwable cause) { super(message, cause); } /** * 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 IllegalKeyException(String message) { super(message); } /** * Constructs an instance of IllegalKeyException with the specified cause. * @param msg the detail message. */ public IllegalKeyException(Exception e) { super(e); } }