added exception handling and throwing for action methods within engine

Signed-off-by: Nicholas Lum <nicholaslum444@hotmail.com>