1.修改一个异常名称不正确的问题。

This commit is contained in:
wusheng 2016-01-12 14:54:03 +08:00
parent 1facd50009
commit 63d7967f47
1 changed files with 1 additions and 2 deletions

View File

@ -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();