修复回看控制失效 #619
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
package com.genersoft.iot.vmp.conf.exception;
|
||||
|
||||
/**
|
||||
* @author lin
|
||||
*/
|
||||
public class ServiceException extends Exception{
|
||||
private String msg;
|
||||
|
||||
|
||||
|
||||
public ServiceException(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getMessage() {
|
||||
return msg;
|
||||
}
|
||||
}
|
||||
@@ -39,12 +39,12 @@ public class SsrcTransactionNotFoundException extends Exception{
|
||||
@Override
|
||||
public String getMessage() {
|
||||
StringBuffer msg = new StringBuffer();
|
||||
msg.append(StringFormatter.format("缓存事务信息未找到,device:%s channel: %s ", deviceId, channelId));
|
||||
msg.append(String.format("缓存事务信息未找到,device:%s channel: %s ", deviceId, channelId));
|
||||
if (callId != null) {
|
||||
msg.append("callId: " + callId);
|
||||
msg.append(",callId: " + callId);
|
||||
}
|
||||
if (stream != null) {
|
||||
msg.append("stream: " + stream);
|
||||
msg.append(",stream: " + stream);
|
||||
}
|
||||
return msg.toString();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user