
com.joe.easysocket.client.exception.NoRequireParamException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of socket-client Show documentation
Show all versions of socket-client Show documentation
socket框架,方便快速开发socket服务端和客户端
The newest version!
package com.joe.easysocket.client.exception;
/**
* 缺少必要的参数异常
*
* @author joe
*/
public class NoRequireParamException extends SystemException {
/**
* 默认构造器
* @param args
* 参数数组
*/
public NoRequireParamException(String... args) {
super(convert(args));
}
private static String convert(String... args) {
StringBuilder arg = new StringBuilder("缺少必要的参数:");
for (String str : args) {
if (str == null) {
continue;
}
arg.append(str).append("、");
}
return arg.toString().substring(0, arg.length() - 1);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy