Exceptions handling system was implemented. Not tested yet.