SRJRCFrames
v0.1.296

de.schwarzrot.app.errors
Class TryAgainTransactionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.beans.PropertyVetoException
              extended by de.schwarzrot.app.errors.TryAgainTransactionException
All Implemented Interfaces:
Serializable

public class TryAgainTransactionException
extends PropertyVetoException

exception useable for transaction partners to get synchronized. The status change is indicated by a PropertyChangeEvent and the slower partner can throw its veto with this exception. seconds is used to force the transaction manager to try it again after that amount of time.

Author:
Reinhard Mantey
See Also:
Serialized Form

Constructor Summary
TryAgainTransactionException(String mess, PropertyChangeEvent evt, int seconds)
           
 
Method Summary
 int getWaitTimeInSeconds()
           
 
Methods inherited from class java.beans.PropertyVetoException
getPropertyChangeEvent
 
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

TryAgainTransactionException

public TryAgainTransactionException(String mess,
                                    PropertyChangeEvent evt,
                                    int seconds)
Method Detail

getWaitTimeInSeconds

public final int getWaitTimeInSeconds()

SRJRCFrames
v0.1.296

hosted at
Find SRJRCFrames at SourceForge.net. Fast, secure and free:
           Open Source Software download
Submit a bug or request a feature

SRJRCFrames is published according to the GNU General Public License
Copyright 2005-2012 Reinhard Mantey - some rights reserved.