LPS-51551 Simplify inner exceptions by using public final fields instead of getters - apply to other exceptions