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