SubAssert can throw any type of exception.

Exception type is specified by the last (third) parameter and default to SubException.