2009-09-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

Updated message when a path is not a file. Updated common message
	for wrong option.
	* src/OptionHandlerException.cc
	* src/message.h
pull/1/head
Tatsuhiro Tsujikawa 2009-09-11 12:59:43 +00:00
parent 97ffdf3eb2
commit 81de583a63
3 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2009-09-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated message when a path is not a file. Updated common message
for wrong option.
* src/OptionHandlerException.cc
* src/message.h
2009-09-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net> 2009-09-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Use File::isFile() instead of File::exists(). Updated message when Use File::isFile() instead of File::exists(). Updated message when

View File

@ -38,7 +38,7 @@
namespace aria2 { namespace aria2 {
const std::string OptionHandlerException::MESSAGE const std::string OptionHandlerException::MESSAGE
("Exception occurred while processing option %s:"); ("We encountered a problem while processing the option '--%s'.");
OptionHandlerException::OptionHandlerException(const char* file, int line, OptionHandlerException::OptionHandlerException(const char* file, int line,
const std::string& optName): const std::string& optName):

View File

@ -174,7 +174,7 @@
#define MSG_GID_NOT_PROVIDED "GID is not provided." #define MSG_GID_NOT_PROVIDED "GID is not provided."
#define MSG_CANNOT_PARSE_XML_RPC_REQUEST "Failed to parse xml-rpc request." #define MSG_CANNOT_PARSE_XML_RPC_REQUEST "Failed to parse xml-rpc request."
#define MSG_GOOD_BYE_SEEDER "Client is in seed state: Good Bye Seeder;)" #define MSG_GOOD_BYE_SEEDER "Client is in seed state: Good Bye Seeder;)"
#define MSG_NOT_FILE "'%s' is not a file." #define MSG_NOT_FILE "Is '%s' a regular file?"
#define EX_TIME_OUT _("Timeout.") #define EX_TIME_OUT _("Timeout.")
#define EX_INVALID_CHUNK_SIZE _("Invalid chunk size.") #define EX_INVALID_CHUNK_SIZE _("Invalid chunk size.")