Moved Field class to separate file
Catch TransportException