Added exception catching to webbinding