diff options
author | Bernard Normier <bernard@zeroc.com> | 2017-01-19 16:21:07 -0500 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2017-01-19 16:21:07 -0500 |
commit | a7a1e11a3d1f32e71ea24596fec6645ecd669419 (patch) | |
tree | e8b365a2fb897023965b2a26f7385c56bfb7d242 /cpp/src/slice2cs | |
parent | Fixed cross-testing objective-c/python (diff) | |
download | ice-a7a1e11a3d1f32e71ea24596fec6645ecd669419.tar.bz2 ice-a7a1e11a3d1f32e71ea24596fec6645ecd669419.tar.xz ice-a7a1e11a3d1f32e71ea24596fec6645ecd669419.zip |
java:UserException metadata for both local and remote operations
Diffstat (limited to 'cpp/src/slice2cs')
-rw-r--r-- | cpp/src/slice2cs/CsUtil.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/cpp/src/slice2cs/CsUtil.cpp b/cpp/src/slice2cs/CsUtil.cpp index d29d7546daf..f430dfd5f01 100644 --- a/cpp/src/slice2cs/CsUtil.cpp +++ b/cpp/src/slice2cs/CsUtil.cpp @@ -2400,18 +2400,6 @@ Slice::CsGenerator::MetaDataVisitor::visitStructEnd(const StructPtr&) void Slice::CsGenerator::MetaDataVisitor::visitOperation(const OperationPtr& p) { - if(p->hasMetaData("UserException")) - { - ClassDefPtr cl = ClassDefPtr::dynamicCast(p->container()); - if(!cl->isLocal()) - { - ostringstream os; - os << "ignoring invalid metadata `UserException': directive applies only to local operations " - << "but enclosing " << (cl->isInterface() ? "interface" : "class") << "`" << cl->name() - << "' is not local"; - emitWarning(p->file(), p->line(), os.str()); - } - } validate(p); ParamDeclList params = p->parameters(); |