clean up encryption exceptions
Merge pull request #12027 from owncloud/cleanup_exceptions

[encryption] clean up encryption exceptions