initial stab at exception support