Adding end to end exception handling

This is a major step towards improving CurateND's exception handling.

It is comprised of many commits because this was my work towards a verifying feature test.

DLTP-123
Line is too long. [81/80]<br>Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.