Added verbose message for "memsetClass" error. (#5183)