[CXF-5722] Delaying the exception propagation only if it is enum and fromValue method