removed redundant code for determining error function; removed unnecessary exception testing
removed redundant code for determining error function; removed unnecessary exception testing

TJKessler/ECNet