Inline case exception behaviour to shortcut having to throw and immediately catch the exception. This is a very hot path when the system is in error state