exception handling is something that the client should do

removed error dialog and throw exception