cat exception program