Class DisallowedWorkflowTransitionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ubic.gemma.persistence.service.expression.experiment.DisallowedWorkflowTransitionException
All Implemented Interfaces:
Serializable

public class DisallowedWorkflowTransitionException extends RuntimeException
Thrown when WorkflowService.advance(Investigation, WorkflowState, String, Long) is asked for a transition the state machine forbids (e.g. Discovery -> Public). The REST layer maps this to a 409 Conflict with a body listing getAllowedNextStates().
See Also: