I just return a customized Exception type. Works about the same.