WORDS-87 - if parameters are not correct throw exception and catch in servlet class: WordsSorter
Work edited