error handling upgrade

got rid of the code duplicated in the controller and anymessage and
upgraded the default error messages in controller to use anymessage. so
throwMessage et all still work, but they just execute anymessage.