~ubuntu-branches/ubuntu/maverick/swig1.3/maverick

« back to all changes in this revision

Viewing changes to Lib/exception.i

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-09-01 18:35:55 UTC
  • mfrom: (2.1.1 sarge)
  • Revision ID: james.westby@ubuntu.com-20050901183555-eq59uwhq8b62e44c
Tags: 1.3.24-1ubuntu4
* Use php5-dev instead of php4-dev, to kick php4 out of main.
* Drop support for generation of pike bindings, as nothing uses it,
  and swig is the only thing keeping pike7.6 in main (Ubuntu #13796)

Show diffs side-by-side

added added

removed removed

Lines of Context:
340
340
    SWIG_exception(SWIG_SystemError, e.what() );
341
341
  }
342
342
%enddef
343
 
#endif // __cplusplus
 
343
%define SWIG_CATCH_UNKNOWN
 
344
  catch (std::exception& e) {
 
345
    SWIG_exception(SWIG_SystemError, e.what() );
 
346
  }
 
347
  catch (...) {
 
348
    SWIG_exception(SWIG_UnknownError, "unknown exception");
 
349
  }
 
350
%enddef
 
351
 
 
352
 
 
353
#endif /* __cplusplus */
344
354
 
345
355
/* exception.i ends here */