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



Reply via email to