Class FlowException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
FlowConfigException, FlowExecutionException, FlowNotFoundException, FlowPermissionException, FlowStateException, FlowValidationException

public abstract class FlowException extends RuntimeException
流程引擎框架异常基类

所有流程引擎相关的异常都应该继承此类

Since:
1.0.0
See Also:
  • Constructor Details

    • FlowException

      public FlowException(String errorCode, String message)
      构造函数
      Parameters:
      errorCode - 错误码
      message - 错误信息
    • FlowException

      public FlowException(String errorCode, String message, Throwable cause)
      构造函数
      Parameters:
      errorCode - 错误码
      message - 错误信息
      cause - 原因
  • Method Details

    • getErrorCode

      public String getErrorCode()
      获取错误码
      Returns:
      错误码
    • toString

      public String toString()
      Overrides:
      toString in class Throwable