All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.springframework.webflow.CannotExecuteTransitionException Maven / Gradle / Ivy

There is a newer version: 1.0.6
Show newest version
package org.springframework.webflow;

/**
 * Thrown when a state transition could not be executed.
 * @author Keith Donald
 */
public class CannotExecuteTransitionException extends FlowException {
	
	/**
	 * The transition that could not be executed. 
	 */
	private Transition transition;

	/**
	 * Create a new exception.
	 * @param transition the transition
	 */
	public CannotExecuteTransitionException(Transition transition) {
		super("Cannot execute transition " + transition);
		this.transition = transition;
	}

	/**
	 * Returns the transition that could not be executed.
	 * @return the transition
	 */
	public Transition getTransition() {
		return transition;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy