1.修改一个异常名称不正确的问题。
This commit is contained in:
parent
1facd50009
commit
63d7967f47
|
|
@ -2,7 +2,6 @@ package com.ai.cloud.skywalking.model;
|
|||
|
||||
import com.ai.cloud.skywalking.api.IBuriedPointType;
|
||||
import com.ai.cloud.skywalking.util.StringUtil;
|
||||
import com.sun.xml.internal.txw2.IllegalSignatureException;
|
||||
|
||||
public class Identification {
|
||||
private String viewPoint;
|
||||
|
|
@ -57,7 +56,7 @@ public class Identification {
|
|||
|
||||
public IdentificationBuilder spanType(IBuriedPointType spanType) {
|
||||
if (StringUtil.isEmpty(spanType.getTypeName())) {
|
||||
throw new IllegalSignatureException("Span Type name cannot be null");
|
||||
throw new IllegalArgumentException("Span Type name cannot be null");
|
||||
}
|
||||
sendData.spanType = spanType.getTypeName();
|
||||
sendData.callType = spanType.getCallType().toString();
|
||||
|
|
|
|||
Loading…
Reference in New Issue