extension of exceptions example