package egovframework.rte.bsl.exception;
import egovframework.rte.fdl.cmmn.EgovAbstractServiceImpl;
public class HelloServiceImpl extends EgovAbstractServiceImpl implements HelloService {
public String sayHello(String name) throws Exception {
String helloStr = "Hello " + name;
try {
int i = 1 / 0;
System.out.println(i);
} catch (ArithmeticException ae) {
leaveaTrace("message.exception.test");
}
return helloStr;
}
public void deleteMethod() throws Exception {
}
public String insertMethod() throws Exception {
return null;
}
public void updateMethod() throws Exception {
try {
int i = 1 / 0;
System.out.println(i);
} catch (ArithmeticException ae) {
throw processException("info.nodata.msg", ae);
}
}
}