…neulich beim refactorn. Was haben wir gelacht …
try {
int x = Integer.parseInt(model.getAttribute(“x”));
int y = Integer.parseInt(model.getAttribute(“y”));
/* … */
} catch (NumberFormatException e) {
// pech gehabt
}