com.atomikos.icatch
Class HeurHazardException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.atomikos.icatch.HeurHazardException
All Implemented Interfaces:
Serializable

public class HeurHazardException
extends Exception

A heuristic hazard exception propagates to the root as indication of cases where 2PC commit or abort was not acknowledge by all participants. Heuristic information about the identity and nature of the lost participants can be included.

See Also:
Serialized Form

Field Summary
protected  HeuristicMessage[] msgs_
           
 
Constructor Summary
HeurHazardException(HeuristicMessage[] msgs)
          Constructor.
 
Method Summary
 HeuristicMessage[] getHeuristicMessages()
          Get the heuristic messages.
 
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
 

Field Detail

msgs_

protected HeuristicMessage[] msgs_
Constructor Detail

HeurHazardException

public HeurHazardException(HeuristicMessage[] msgs)
Constructor.

Parameters:
msgs - An array of heuristic messages, or null if none.
Method Detail

getHeuristicMessages

public HeuristicMessage[] getHeuristicMessages()
Get the heuristic messages.

Returns:
HeuristicMessage[] An array, possibly null.


Copyright © 2011. All Rights Reserved.