Exemple #1
0
 def __init__(self, *args):
     r"""
     __init__(Exception self) -> Exception
     __init__(Exception self, Context c) -> Exception
     __init__(Exception self, Throwable t, Context c) -> Exception
     __init__(Exception self, std::string const & message) -> Exception
     """
     _coda_except.Exception_swiginit(self, _coda_except.new_Exception(*args))
Exemple #2
0
 def __init__(self, *args):
     """
     __init__(except::Exception self) -> Exception
     __init__(except::Exception self, Context c) -> Exception
     __init__(except::Exception self, Throwable t, Context c) -> Exception
     __init__(except::Exception self, std::string const & message) -> Exception
     """
     this = _coda_except.new_Exception(*args)
     try:
         self.this.append(this)
     except:
         self.this = this