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

org.jscep.transaction.TransactionException Maven / Gradle / Ivy

There is a newer version: 2.5.6
Show newest version
package org.jscep.transaction;

import net.jcip.annotations.Immutable;

/**
 * Represents any failure occurring in the transaction layer.
 */
@Immutable
public class TransactionException extends Exception {
    private static final long serialVersionUID = 1L;

    /**
     * Creates a new {@code TransactionException} caused by the provided
     * {@code Throwable}.
     * 
     * @param cause
     *            the {@code Throwable} that caused the error.
     */
    public TransactionException(final Throwable cause) {
        super(cause);
    }

    /**
     * Creates a new {@code TransactionException} with the provided error
     * message.
     * 
     * @param message
     *            a description of the error condition.
     */
    public TransactionException(final String message) {
        super(message);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy