Commit b643535f authored by Quxl's avatar Quxl

x

parent d233c2ad
package com.egolm.sso.util;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
......@@ -25,7 +24,7 @@ public class DateUtil {
try {
DateFormat df = new SimpleDateFormat(fmt);
return df.parse(dateString);
} catch (Exception e) {
} catch (Throwable e) {
throw new XRException("Error date value " + dateString, e);
}
}
......@@ -38,7 +37,7 @@ public class DateUtil {
} else {
try {
return format_HHmmss.parse(timeString);
} catch (ParseException e) {
} catch (Throwable e) {
throw new XRException("Error time value " + timeString, e);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment