org.sysunit
Class AlreadySynchronizedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.sysunit.SynchronizationException
              extended by org.sysunit.AlreadySynchronizedException
All Implemented Interfaces:
Serializable

public class AlreadySynchronizedException
extends SynchronizationException

Denotes attempt to synchronize a TBean at multiple sync-points simultaneously.

Author:
Bob McWhirter
See Also:
TBeanSynchronizer.sync(java.lang.String), SystemTestCase.sync(java.lang.String), Serialized Form

Constructor Summary
AlreadySynchronizedException(String tbeanId, String syncPoint)
          Construct.
 
Method Summary
 String getMessage()
           
 String getSyncPoint()
          Retrieve the sync-point id.
 String getTBeanId()
          Retrieve the TBean id.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

AlreadySynchronizedException

public AlreadySynchronizedException(String tbeanId,
                                    String syncPoint)
Construct.

Parameters:
tbeanId - TBean id.
syncPoint - Sync-point id.
Method Detail

getTBeanId

public String getTBeanId()
Retrieve the TBean id.

Returns:
The TBean id.

getSyncPoint

public String getSyncPoint()
Retrieve the sync-point id.

Returns:
The sync-point id.

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable
See Also:
Throwable


Copyright © 2003-2010 SpritSoft, Inc.. All Rights Reserved.