@Override void setExceptionInfo(int exceptionClassId, String exceptionMessage) { span.setExceptionInfo(exceptionClassId, exceptionMessage); if (!span.isSetErrCode()) { span.setErrCode(1); } }
@Override void setExceptionInfo(boolean markError, int exceptionClassId, String exceptionMessage) { span.setExceptionInfo(exceptionClassId, exceptionMessage); if (markError) { if (!span.isSetErrCode()) { span.setErrCode(1); } } }