Create ActiveEntryError exception

Ticket: #618
Branch: cleanup/618-active-entry-error
Check for new ActiveEntryError exception in test

Ticket: #618
Branch: cleanup/618-active-entry-error
Merge pull request #618 from caktus/cleanup/618-active-entry-error

Add ActiveEntryException