org.cesecore.certificates.ocsp.exception.IllegalNonceException Maven / Gradle / Ivy
/*************************************************************************
* *
* 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.ocsp.exception;
import org.cesecore.CesecoreException;
/**
* Error due to an invalid Nonce value in request.
*
* @version $Id: IllegalNonceException.java 22982 2016-03-14 15:57:11Z anatom $
*/
public class IllegalNonceException extends CesecoreException {
private static final long serialVersionUID = 6774153561528947365L;
/**
* Constructor used to create exception with an error message. Calls the same constructor in
* baseclass Exception
.
*
* @param message Human readable error message, can not be NULL.
*/
public IllegalNonceException(final String message) {
super(message);
}
/**
* Constructor used to create exception with an embedded exception. Calls the same constructor
* in baseclass Exception
.
*
* @param exception exception to be embedded.
*/
public IllegalNonceException(final Exception exception) {
super(exception);
}
}