Trying homemade exception type