org.jscep.message.MessageEncodingException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jscep Show documentation
Show all versions of jscep Show documentation
Java implementation of the Simple Certificate Enrollment Protocol
package org.jscep.message;
import net.jcip.annotations.Immutable;
/**
* This {@code Exception} is thrown whenever jscep is unable to encode a SCEP
* secure message object.
*/
@Immutable
public class MessageEncodingException extends Exception {
/**
* Serialization ID.
*/
private static final long serialVersionUID = -6111956271602335933L;
/**
* Creates a new {@code MessageEncodingException} with the provided cause.
*
* @param cause
* the initial cause of the encoding exception.
*/
public MessageEncodingException(final Throwable cause) {
super(cause);
}
/**
* Creates a new {@code MessageEncodingException} with the provided error
* message.
*
* @param message
* the description of the encoding exception.
*/
public MessageEncodingException(final String message) {
super(message);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy