com.atomikos.icatch
Class HeurHazardException
java.lang.Object
java.lang.Throwable
java.lang.Exception
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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
msgs_
protected HeuristicMessage[] msgs_
HeurHazardException
public HeurHazardException(HeuristicMessage[] msgs)
- Constructor.
- Parameters:
msgs
- An array of heuristic messages, or null if none.
getHeuristicMessages
public HeuristicMessage[] getHeuristicMessages()
- Get the heuristic messages.
- Returns:
- HeuristicMessage[] An array, possibly null.
Copyright © 2011. All Rights Reserved.