javax.transaction.HeuristicCommitException Maven / Gradle / Ivy
Go to download
This artifact provides a single jar that contains all classes required to use remote Jakarta Enterprise Beans and Jakarta Messaging, including
all dependencies. It is intended for use by those not using maven, maven users should just import the Jakarta Enterprise Beans and
Jakarta Messaging BOM's instead (shaded JAR's cause lots of problems with maven, as it is very easy to inadvertently end up
with different versions on classes on the class path).
package javax.transaction;
/**
* This exception is meant to be thrown by the rollback operation on
* a resource to report that a heuristic decision was made and that all
* relevant updates have been committed.
*
* But though defined in JTA this exception is used nowhere in JTA, and
* it seems impossible to report a heuristic commit decision with the JTA
* API in a portable way.
*
* @version $Revision$
*/
public class HeuristicCommitException extends Exception
{
/**
* Creates a new HeuristicMixedException
without a
* detail message.
*/
public HeuristicCommitException()
{
}
/**
* Constructs an HeuristicCommitException
with the
* specified detail message.
*
* @param msg the detail message.
*/
public HeuristicCommitException(String msg)
{
super(msg);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy