Esempio n. 1
0
 def __init__(self, *args):
     r"""
     __init__(Throwable self) -> Throwable
     __init__(Throwable self, std::string const & message) -> Throwable
     __init__(Throwable self, Context arg2) -> Throwable
     __init__(Throwable self, Throwable arg2, Context arg3) -> Throwable
     """
     _coda_except.Throwable_swiginit(self, _coda_except.new_Throwable(*args))
Esempio n. 2
0
 def __init__(self, *args):
     """
     __init__(except::Throwable self) -> Throwable
     __init__(except::Throwable self, std::string const & message) -> Throwable
     __init__(except::Throwable self, Context c) -> Throwable
     __init__(except::Throwable self, Throwable t, Context c) -> Throwable
     """
     this = _coda_except.new_Throwable(*args)
     try:
         self.this.append(this)
     except:
         self.this = this