Rethrowing error in initialization