ksimanenka : hometask-session1

Hi
It'll be great to get Your short code review.
I use Java, so any comments about code style are welcome.
Thanks.
Function `handleServerError ` does not exist anywhere, you probably meant `sendServerError `