com.sun.sgs.app
Class TransactionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.sun.sgs.app.TransactionException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
TransactionAbortedException, TransactionNotActiveException

public class TransactionException
extends RuntimeException

Thrown when an operation fails because of a problem with the current transaction.

See Also:
Serialized Form

Constructor Summary
TransactionException(String message)
          Creates an instance of this class with the specified detail message.
TransactionException(String message, Throwable cause)
          Creates an instance of this class with the specified detail message and 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransactionException

public TransactionException(String message)
Creates an instance of this class with the specified detail message.

Parameters:
message - the detail message or null

TransactionException

public TransactionException(String message,
                            Throwable cause)
Creates an instance of this class with the specified detail message and cause.

Parameters:
message - the detail message or null
cause - the cause or null

Project Darkstar, Version 0.9.9.6
2009-05-08 15:39:40

Copyright © 2007-2009 Sun Microsystems, Inc. All rights reserved