Add javadoc to enum items
Fix [SonarQube] Public methods should throw at most one checked
exception (Refactor this method to throw at most one checked exception)
Update javadoc
Fix [SonarQube] Public methods should throw at most one checked
exception (Refactor this method to throw at most one checked exception
instead of: java.sql.SQLException, java.lang.Exception)
Extract message strings into static fields
Refactor parameter name for descriptiveness
Fix [SonarQube] Switch cases should end with an unconditional break
statement (End this switch case with an unconditional break, continue,
return or throw statement)
Fix [SonarQube] Synchronized class StringBuffer should not be used
(Replace the synchronized class "StringBuffer" by an unsynchronized one
such as "StringBuilder")