public static boolean isErrorRecoverable(Throwable e) {
    int errorCode = ErrorMsg.getErrorMsg(e.getMessage()).getErrorCode();
    return errorCode > ErrorMsg.GENERIC_ERROR.getErrorCode();
  }
Used to report status of replication stage which is skipped or has some error
@param stageName Name of replication stage
@param status Status skipped or FAILED etc
@param errorLogPath path of error log file
@param conf handle configuration parameter
@param dbName name of database
@param replicationType type of replication incremental, bootstrap, etc
@throws SemanticException
ql/src/java/org/apache/hadoop/hive/ql/exec/repl/util/ReplUtils.java