站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档

HeuristicCommitException (JBoss J2EE API) - JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档


javax.transaction
Class HeuristicCommitException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.transaction.HeuristicCommitException
All Implemented Interfaces:
Serializable

public class HeuristicCommitException
extends Exception

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: 1.2 $
See Also:
Serialized Form

Constructor Summary
HeuristicCommitException()
          Creates a new HeuristicMixedException without a detail message.
HeuristicCommitException(String msg)
          Constructs an HeuristicCommitException with the specified detail message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HeuristicCommitException

public HeuristicCommitException()
Creates a new HeuristicMixedException without a detail message.


HeuristicCommitException

public HeuristicCommitException(String msg)
Constructs an HeuristicCommitException with the specified detail message.

Parameters:
msg - the detail message.


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.