Printing messages of excemptions raised at runtime