Added class for Remote Exceptions and used it for exception handling instead of plain Error objects