All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy