[pl] generalize exception