summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
ad7ea12)
previously this exception was not thrown, it was caught and ignored. This restores backwards compatibility
Change-Id: Ia07c409f47be1269f959134ddbd4aa2898004e7d
Issue-ID: CCSDK-203
Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
try {
n = Integer.parseInt(value1);
} catch (NumberFormatException e) {
try {
n = Integer.parseInt(value1);
} catch (NumberFormatException e) {
- throw new SvcLogicException("Invalid input of repeat interval, should be an integer value " +
- e.getLocalizedMessage(), e);
+ log.info("value1 not set or not a number, n will remain set at zero");
}
newTemplate.append(template.substring(k, i1));
}
newTemplate.append(template.substring(k, i1));
rcn.sendRequest(p, ctx);
}
rcn.sendRequest(p, ctx);
}
- @Test(expected = SvcLogicException.class)
public void testInvalidRepeatTimes() throws SvcLogicException {
SvcLogicContext ctx = new SvcLogicContext();
ctx.setAttribute("tmp.sdn-circuit-req-row_length", "a");
public void testInvalidRepeatTimes() throws SvcLogicException {
SvcLogicContext ctx = new SvcLogicContext();
ctx.setAttribute("tmp.sdn-circuit-req-row_length", "a");