[NEXUS-6027] Replace useless method in DefaultNexusConfiguration

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
[NEXUS-6027] Remove unused EmailerException default constructor

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>