[TECHNICAL-SUPPORT] LPS-32107 Add exception handling to Search portlet and fix RangeFacet to do not throw IllegalArgumentException for Custom Range

Hi, Levente,

Could you please review my changes?
I have added several comments for the modified lines to explain my modifications.

Let me know if you have any questions or problems regarding my commits.

Thanks,
Tibor