example for reproducing various exceptions