Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012. All Rights Reserved.