user define exception used