au.gov.tas.dpiwe.mr
Class MrHeuristicMixedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.transaction.HeuristicMixedException
au.gov.tas.dpiwe.mr.MrHeuristicMixedException
- All Implemented Interfaces:
- Serializable
public class MrHeuristicMixedException
- extends HeuristicMixedException
MrHeuristicMixedException is thrown to report that a heuristic decision
was made and that some relevant updates have been committed and others
have been rolled back. MrHeuristicMixedException implements the new Java
1.4 exception chaining mechanism to allow the architecture to support
this feature in J2SE 1.3 environments.
- Since:
- Mr Architecture 1.8
- Version:
- 1.0.0.1
- Author:
- Kade Hansson
- See Also:
- Serialized Form
cause
protected Throwable cause
MrHeuristicMixedException
public MrHeuristicMixedException(String message,
Throwable cause)
- Constructs a new heuristic mixed exception.
- Parameters:
message - the detail message.cause - the exception which caused the partial commit.
initCause
public Throwable initCause(Throwable cause)
- Sets the reason for the partial commit.
- Overrides:
initCause in class Throwable
- Parameters:
cause - the cause of this partial commit.
getCause
public Throwable getCause()
- Returns the cause of this partial commit.
- Overrides:
getCause in class Throwable
- Returns:
- the exception which caused the partial commit.