259260261262263264265266267268269
log.debug("IOSession.changeSystemOut failed as expected", e); } try { bean.changeSystemErr(); doFail("Was able to call IOSession.changeSystemErr"); } catch(Exception e) { log.debug("IOSession.changeSystemErr failed as expected", e);
253254255256257258259260261262263
{ log.debug("+++ testChangeSystemErr()"); IOSession bean = getIOSession(); try { bean.changeSystemErr(); doFail("Was able to call IOSession.changeSystemErr"); } catch(Exception e) { log.debug("IOSession.changeSystemErr failed as expected", e);