SLING-3709 improve exception handling by using dedicated exception classes instead of the one global result object