Fixed: Parameter order for exception creation.