removed rogue throw

Should use error fn wherever possible so that errors can be re-routed
dependent on requirements.