Example #1
0
 def __init__(self, *args):
     r"""
     __init__(BadCastException self) -> BadCastException
     __init__(BadCastException self, BadCastException arg2) -> BadCastException
     __init__(BadCastException self, BadCastException arg2) -> BadCastException
     __init__(BadCastException self, Context c) -> BadCastException
     __init__(BadCastException self, std::string const & msg) -> BadCastException
     __init__(BadCastException self, Throwable t, Context c) -> BadCastException
     """
     _coda_except.BadCastException_swiginit(self, _coda_except.new_BadCastException(*args))
Example #2
0
 def __init__(self, *args):
     """
     __init__(except::BadCastException self) -> BadCastException
     __init__(except::BadCastException self, Context c) -> BadCastException
     __init__(except::BadCastException self, std::string const & msg) -> BadCastException
     __init__(except::BadCastException self, Throwable t, Context c) -> BadCastException
     """
     this = _coda_except.new_BadCastException(*args)
     try:
         self.this.append(this)
     except:
         self.this = this