Fix some code in uDo class and added new Exception class


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