Replace custom ChannelDescriptor exceptions to use ResourceException
Move descriptor interaction logic to resources.
Merge pull request #1622 from ratnikov/refactor-channeldescriptor

Refactor channeldescriptor to use FileResource