Similarly here: just throw the common superclass of all these Exception types, which is probably Exception itself.