Fixed error handling to rethrow the error as an ErrorException.
Fixed error handling to rethrow the error as an ErrorException.

htem/CATMAID,htem/CATMAID,htem/CATMAID,fzadow/CATMAID,htem/CATMAID,fzadow/CATMAID,fzadow/CATMAID,fzadow/CATMAID