Home | History | Annotate | Download | only in jni
      1 #include <iostream>
      2 
      3 #include "myexception.h"
      4 #include "throwable.h"
      5 
      6 int throw_an_exception()
      7 {
      8     std::cout << "throw_an_exception()" << std::endl;
      9     throw my_exception("my exception");
     10 }