You can throw unchecked exceptions from an enum constructor . there’s something icky about getting an exception thrown merely by accessing an enum value.
You can throw unchecked exceptions from an enum constructor . there’s something icky about getting an exception thrown merely by accessing an enum value.