< prev index next >

src/share/vm/services/diagnosticArgument.cpp

Print this page

        

*** 278,288 **** template <> void DCmdArgument<MemorySizeArgument>::parse_value(const char* str, size_t len, TRAPS) { if (str == NULL) { THROW_MSG(vmSymbols::java_lang_IllegalArgumentException(), ! "Integer parsing error nanotime value: syntax error"); } if (*str == '-') { THROW_MSG(vmSymbols::java_lang_IllegalArgumentException(), "Parsing error memory size value: negative values not allowed"); --- 278,288 ---- template <> void DCmdArgument<MemorySizeArgument>::parse_value(const char* str, size_t len, TRAPS) { if (str == NULL) { THROW_MSG(vmSymbols::java_lang_IllegalArgumentException(), ! "Parsing error memory size value: syntax error, value is null\n"); } if (*str == '-') { THROW_MSG(vmSymbols::java_lang_IllegalArgumentException(), "Parsing error memory size value: negative values not allowed");
< prev index next >