com.arjuna.mw.wsas.exceptions
Class WrongStateException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.arjuna.mw.wsas.exceptions.WSASException
              extended by com.arjuna.mw.wsas.exceptions.WrongStateException
All Implemented Interfaces:
Serializable

public class WrongStateException
extends WSASException

Thrown if the state of the activity is such that it disallows the attempted operation. For example, the activity is committing and a participant that has prepared attempts to resign. Do we want to remove this and replace it with IllegalStateException as is done in the JTA?

Since:
1.0.
Version:
$Id: WrongStateException.java,v 1.2 2003/04/04 14:59:51 nmcl Exp $
Author:
Mark Little (mark.little@arjuna.com)
See Also:
Serialized Form

Constructor Summary
WrongStateException()
           
WrongStateException(String s)
           
WrongStateException(String s, int errorcode)
           
 
Method Summary
 
Methods inherited from class com.arjuna.mw.wsas.exceptions.WSASException
getData, getErrorCode
 
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

WrongStateException

public WrongStateException()

WrongStateException

public WrongStateException(String s)

WrongStateException

public WrongStateException(String s,
                           int errorcode)


Copyright © 2012. All Rights Reserved.