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.
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.
ggranum included the following code: https://github.com/dotCMS/core/pull/8712/commits