cn.tangjiabao.halodb.core.exception.MyRuntimeException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of haloDb Show documentation
Show all versions of haloDb Show documentation
Orm whitch The highest development efficiency and Efficiency is the fastest
package cn.tangjiabao.halodb.core.exception;
/**
*自定义RuntimeException
* @author [email protected]
* @date 2015-6-14 下午12:49:15
*/
public class MyRuntimeException extends NestedRuntimeException{
public MyRuntimeException(String msg) {
super(msg);
// TODO Auto-generated constructor stub
}
public static MyRuntimeException Instance(Object... msg) {
StringBuffer sb = new StringBuffer();
for (Object object : msg) {
sb.append(String.valueOf(object));
}
String msgStr=sb.toString();
return new MyRuntimeException(msgStr);
}
private static final long serialVersionUID = 1L;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy