diff options
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. |