com.github.javaclub.toolbox.CodecException Maven / Gradle / Ivy
package com.github.javaclub.toolbox;
/**
* Root exception related to issues during encoding or decoding.
*
*/
public class CodecException extends RuntimeException {
private static final long serialVersionUID = 3586764372982587670L;
/**
* Creates a new CodecException
.
*/
public CodecException() {
super();
}
/**
* Creates a new CodecException
.
*
* @param message the reason for the exception.
*/
public CodecException(String message) {
super(message);
}
/**
* Creates a new CodecException
.
*
* @param cause the underlying cause of the exception.
*/
public CodecException(Throwable cause) {
super(cause);
}
/**
* Creates a new CodecException
.
*
* @param message the reason for the exception.
* @param cause the underlying cause of the exception.
*/
public CodecException(String message, Throwable cause) {
super(message, cause);
}
}