Marking exceptions as final