package org.theonefx.wcframework.transaction.exception; /** * Exception thrown when the existence or non-existence of a transaction * amounts to an illegal state according to the transaction propagation * behavior that applies. * * @author Juergen Hoeller * @since 21.01.2004 */ public class IllegalTransactionStateException extends TransactionUsageException { private static final long serialVersionUID = 7416642460830072429L; /** * Constructor for IllegalTransactionStateException. * @param msg the detail message */ public IllegalTransactionStateException(String msg) { super(msg); } /** * Constructor for IllegalTransactionStateException. * @param msg the detail message * @param cause the root cause from the transaction API in use */ public IllegalTransactionStateException(String msg, Throwable cause) { super(msg, cause); } }