illegaltransitionexception.java

来自「一个java工作流引擎」· Java 代码 · 共 29 行

JAVA
29
字号
package org.jbpm;

/**
 * is thrown when the client specifies an illegal transitionName in 
 * {@link org.jbpm.ExecutionService#startProcessInstance(String, Long, Map, String)}
 * or in 
 * {@link org.jbpm.ExecutionService#endOfState(String, Long, Map, String)}.
 * 
 * <p>Note that null is a valid transition name if exactly one transition is leaving
 * the state. 
 * </p>
 * 
 * <p>In method {@link org.jbpm.ExecutionService#startProcessInstance(String, Long, Map, String)}
 * a transitionName is illegal if the start state of the specified process definition
 * does not have a leaving transition with that name. 
 * In method {@link org.jbpm.ExecutionService#endOfState(String, Long, Map, String)}
 * a transitionName is illegal if the current state of the token 
 * does not have a leaving transition with that name.
 * </p> 
 */
public class IllegalTransitionException extends ExecutionException {

	public IllegalTransitionException() { super(); }
	public IllegalTransitionException(String msg) { super(msg); }
	public IllegalTransitionException(String msg, Throwable cause) { super(msg, cause); }
	public IllegalTransitionException(Throwable cause) { super(cause); }

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?