made exceptions a litte more generic, passing msg to superclass for networexception