Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

I didn't use Java 8 exception multi catch statements as I wanted to report different messages back to the client.

The call at line 6 is to a singleton.  We could have used non singleton implementation and this would have worked to, but backend implementation works in a non webservice context too, such as with JSPs.