Ah, true, such an exception should not be thrown. Can you post the
stack trace?
--Thilo
Ekaterina Buyko wrote:
Marshall Schor schrieb:
OK - this should work (that is, when you assign a value not in the set
of allowed values, you should get an exception).
In your case, what happens? Does is just do the assignment without
complaints?
-Marshall
I do not get any exceptions. My process method attends in the catch
block the IndexOutOfBoundsException.
What kind of exception should be thrown in the described case?
Best
E. Buyko