Basic exception implementation and usage