using future-proof exception binding syntax