Add support for other typeinfo encodings in the ExceptionDemo.