The right way to create new Exception# Java - 爪哇娇娃
p*p
1 楼
Sometime I need to catch a exception and create a new one,
} catch (oldException e) {
throw new newExcetion(e.getMessage());
}
e.getMessage() the right way to hand off exception information? Seem some
infor get lost after some jumps.
} catch (oldException e) {
throw new newExcetion(e.getMessage());
}
e.getMessage() the right way to hand off exception information? Seem some
infor get lost after some jumps.