GigaSpaces XAP 9.0 API

net.jini.core.transaction
Class CannotCommitException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.jini.core.transaction.TransactionException
              extended by net.jini.core.transaction.CannotCommitException
All Implemented Interfaces:
Serializable

public class CannotCommitException
extends TransactionException

Exception thrown when a transaction cannot commit because it has already aborted or must now be aborted.

Since:
1.0
Author:
Sun Microsystems, Inc.
See Also:
Serialized Form

Constructor Summary
CannotCommitException()
          Constructs an instance with no detail message.
CannotCommitException(String desc)
          Constructs an instance with a detail message.
CannotCommitException(String desc, Throwable cause)
           
 
Method Summary
 
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

CannotCommitException

public CannotCommitException(String desc)
Constructs an instance with a detail message.

Parameters:
desc - the detail message

CannotCommitException

public CannotCommitException(String desc,
                             Throwable cause)

CannotCommitException

public CannotCommitException()
Constructs an instance with no detail message.


GigaSpaces XAP 9.0 API

Copyright © GigaSpaces.