refs #5 added RigeryError exception