Use interface instead of class in generic
Throw Exception when can't copy attachments
Remove modificator from interface method
Remove unused imports
Replace tab with sequence of spaces
Throw one exeption instead of several
Merge pull request #60 from eroshenkoam/master

Sonar Fixes