exception macro and notes