[CTL-402] throw exception if type not found
fix afer review
Merge pull request #18 from Miktor/branchname

[CTL-402] throw exception if type not found