defined exception for value out of range