This is subtle enough that it's probably worth keeping something called `isbaseexception`, probably giving it a better name.