is this try-catch block really needed?