Better exception handling
Various error cases handled, inc. cx_oracle limit