Change way of the rethrowing exceptions