Handle error message when connection is not open.
Throw exception when unset inexistent projection field.