bgriffin-zenhub / core

Source Code for dotCMS Java Enterprise Content Management System
http://dotcms.com
GNU General Public License v3.0
0 stars 0 forks source link

[CLOSED] Card-679 Add exception mappers, catch and handle duplicate key exceptions better. #148

Open brentgriffin opened 8 years ago

brentgriffin commented 8 years ago

Issue by ggranum Friday Mar 04, 2016 at 11:29 GMT Originally opened as https://github.com/dotCMS/core/pull/8712


Card-679 Add exception mappers, catch and handle duplicate key exceptions better.

Part of handling duplicate key exceptions is getting rid of the idiocy that created them in the first place. Seriously, what the heck? Epic failure of 'Principle of least surprise.' Why would streaming into a map ever check for duplicate keys by default?

Also removes the use of a utility class as a superclass.

Review on Reviewable


ggranum included the following code: https://github.com/dotCMS/core/pull/8712/commits