org.ow2.jasmine.jadort.api
Class InvalidStepException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.ow2.jasmine.jadort.api.JadortServiceException
              extended by org.ow2.jasmine.jadort.api.InvalidStepException
All Implemented Interfaces:
java.io.Serializable

public class InvalidStepException
extends JadortServiceException

Exception thrown when the current operation is not in the expected step.

Author:
Arda Aydin, Malek Chahine, S. Ali Tokmen
See Also:
Serialized Form

Constructor Summary
InvalidStepException(OperationStateBean.Step currentStep, OperationStateBean.Step... expectedSteps)
          Exception thrown when the current operation is not in the expected step.
 
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

InvalidStepException

public InvalidStepException(OperationStateBean.Step currentStep,
                            OperationStateBean.Step... expectedSteps)
Exception thrown when the current operation is not in the expected step.

Parameters:
currentStep - The current step.
expectedSteps - The steps that are allowed.


Copyright © 2009 OW2 Consortium. All Rights Reserved.