convert to moose exceptions

Signed-off-by: Caleb Cushing <xenoterracide@gmail.com>