Exceptions

Python API异常定义

exception bigflow.error.BigflowHDFSException(msg=None, internal=None)

基类:bigflow.error.Error

访问HDFS抛出的异常

exception bigflow.error.BigflowPlanningException(msg=None, internal=None)

基类:bigflow.error.Error

Bigflow非运行期抛出异常的基类

exception bigflow.error.BigflowRPCException(msg=None, internal=None)

基类:bigflow.error.BigflowPlanningException

Bigflow RPC失败抛出的异常

注解

本异常有可能在今后移除,如有需要,建议捕获其父类

exception bigflow.error.BigflowRuntimeException(msg=None, internal=None)

基类:bigflow.error.Error

Bigflow运行期抛出异常的基类

exception bigflow.error.Error(msg=None, internal=None)

基类:exceptions.Exception

基类

参数:
  • msg (str, optional) — 异常信息
  • internal (Exception, optional) — 导致该异常的内部异常

exception bigflow.error.InvalidConfException(msg=None, internal=None)

基类:bigflow.error.BigflowRuntimeException

配置错误所导致的运行期异常

exception bigflow.error.InvalidDataException(msg=None, internal=None)

基类:bigflow.error.BigflowRuntimeException

数据错误所导致的运行期异常

exception bigflow.error.InvalidLogicalPlanException(msg=None, internal=None)

基类:bigflow.error.BigflowPlanningException

Bigflow 执行计划构造抛出的异常

exception bigflow.error.InvalidSeqSerdeException(msg=None, internal=None)

基类:bigflow.error.BigflowPlanningException

Bigflow 序列化文件传入key和value的serde异常