tuned error processing and extracted ArgsException