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/slice2java/Gen.h | |
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/slice2java/Gen.h')
-rw-r--r-- | cpp/src/slice2java/Gen.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/src/slice2java/Gen.h b/cpp/src/slice2java/Gen.h index 5e6046bcd85..11c7d0f7e45 100644 --- a/cpp/src/slice2java/Gen.h +++ b/cpp/src/slice2java/Gen.h @@ -70,9 +70,10 @@ protected: const std::string&); // - // Generate a throws clause containing only non-local exceptions. + // Generate a throws clause containing only checked exceptions. + // op is provided only when we want to check for the java:UserException metadata // - void writeThrowsClause(const std::string&, const ExceptionList&); + void writeThrowsClause(const std::string&, const ExceptionList&, const OperationPtr& op = 0); // // Generate code to compute a hash code for a type. |