|
RE: Wrapping exception handling around a constructor called from Java: msg#00083programming.swig
Ok, how does one wrap an exception around an overloaded operator called from Java? SWIG doesn't like this: ----------------------------------- %exception operator < %{ try { $action } catch ( std::exception err) { std::cout << "exception" << std::endl; return $null; } %} %name(isLessThan) bool operator < (const Foo & rhs) const; ------------------------------------ I also tried enclosing in quotes, "operator <", "operator<", and just operator< Ray _______________________________________________ Swig maillist - Swig@xxxxxxxxxxxxxxx http://mailman.cs.uchicago.edu/mailman/listinfo/swig |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re[2]: Directors and returning by value.: 00083, Kerim Borchaev |
|---|---|
| Next by Date: | RE: Wrapping exception handling around a constructor called from Java: 00083, David Beazley |
| Previous by Thread: | RE: Wrapping exception handling around a constructor called from Javai: 00083, Willis, Raymond W |
| Next by Thread: | RE: Wrapping exception handling around a constructor called from Java: 00083, David Beazley |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |