Added a convenience macro for throwing an exception in an abstract baseclass method.