org.activiti.engine.delegate
类 BpmnError

java.lang.Object
  继承者 java.lang.Throwable
      继承者 java.lang.Exception
          继承者 java.lang.RuntimeException
              继承者 org.activiti.engine.ActivitiException
                  继承者 org.activiti.engine.delegate.BpmnError
所有已实现的接口:
Serializable

public class BpmnError
extends ActivitiException

Special exception that can be used to throw a BPMN Error from JavaDelegates and expressions. This should only be used for business faults, which shall be handled by a Boundary Error Event or Error Event Sub-Process modeled in the process definition. Technical errors should be represented by other exception types. This class represents an actual instance of a BPMN Error, whereas Error represents an Error definition.

作者:
Falko Menge
另请参见:
序列化表格

构造方法摘要
BpmnError(String errorCode)
           
BpmnError(String errorCode, String message)
           
 
方法摘要
 String getErrorCode()
           
protected  void setErrorCode(String errorCode)
           
 String toString()
           
 
从类 java.lang.Throwable 继承的方法
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

BpmnError

public BpmnError(String errorCode)

BpmnError

public BpmnError(String errorCode,
                 String message)
方法详细信息

setErrorCode

protected void setErrorCode(String errorCode)

getErrorCode

public String getErrorCode()

toString

public String toString()
覆盖:
Throwable 中的 toString


Copyright © 2013 Alfresco. All rights reserved.