diff options
author | Jose <jose@zeroc.com> | 2009-02-24 17:14:54 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2009-02-24 17:14:54 +0100 |
commit | 49987479748fb4f5dd06f72eb9358918bae97606 (patch) | |
tree | d6a4514eb6b2e03a2d576fb652ad1356e3cf8286 /cpp/src/Slice/JavaUtil.cpp | |
parent | Fixed bug 2968 - /etc/icegridregistry.conf (diff) | |
download | ice-49987479748fb4f5dd06f72eb9358918bae97606.tar.bz2 ice-49987479748fb4f5dd06f72eb9358918bae97606.tar.xz ice-49987479748fb4f5dd06f72eb9358918bae97606.zip |
Minor fixes to metadata messages.
Diffstat (limited to 'cpp/src/Slice/JavaUtil.cpp')
-rw-r--r-- | cpp/src/Slice/JavaUtil.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/src/Slice/JavaUtil.cpp b/cpp/src/Slice/JavaUtil.cpp index f0b063fbf59..1d1945aeb85 100644 --- a/cpp/src/Slice/JavaUtil.cpp +++ b/cpp/src/Slice/JavaUtil.cpp @@ -3657,7 +3657,7 @@ Slice::JavaGenerator::MetaDataVisitor::visitOperation(const OperationPtr& p) if(!cl->isLocal()) { ostringstream os; - os << "metadata directive `UserException' applies only to local operations " + os << "ignoring invalid metadata `UserException' applies only to local operations " << "but enclosing " << (cl->isInterface() ? "interface" : "class") << " `" << cl->name() << "' is not local"; emitWarning(p->file(), p->line(), os.str()); @@ -3673,7 +3673,8 @@ Slice::JavaGenerator::MetaDataVisitor::visitOperation(const OperationPtr& p) { if(q->find("java:type:", 0) == 0) { - emitWarning(p->file(), p->line(), "invalid metadata for operation"); + emitWarning(p->file(), p->line(), "ignoring invalid metadata `" + *q + + "' for operation with void return type"); break; } } |