Custom exception type for cxxcam.