Throw exception in case of null transport. Indentations