Exemple #1
0
 public BC_Exception(int errorCode, string message) : this(BIMcollab_ExceptionPINVOKE.new_BC_Exception__SWIG_2(errorCode, message), true)
 {
     if (BIMcollab_ExceptionPINVOKE.SWIGPendingException.Pending)
     {
         throw BIMcollab_ExceptionPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
 public virtual void Dispose()
 {
     lock (this) {
         if (swigCPtr.Handle != global::System.IntPtr.Zero)
         {
             if (swigCMemOwn)
             {
                 swigCMemOwn = false;
                 BIMcollab_ExceptionPINVOKE.delete_BC_Exception(swigCPtr);
             }
             swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
         }
         global::System.GC.SuppressFinalize(this);
     }
 }
Exemple #3
0
    public virtual int GetErrorCode()
    {
        int ret = BIMcollab_ExceptionPINVOKE.BC_Exception_GetErrorCode(swigCPtr);

        return(ret);
    }
Exemple #4
0
    public virtual string what()
    {
        string ret = BIMcollab_ExceptionPINVOKE.BC_Exception_what(swigCPtr);

        return(ret);
    }
Exemple #5
0
 public BC_Exception(uint index, uint size) : this(BIMcollab_ExceptionPINVOKE.new_BC_Exception__SWIG_1(index, size), true)
 {
 }
Exemple #6
0
 public BC_Exception() : this(BIMcollab_ExceptionPINVOKE.new_BC_Exception__SWIG_0(), true)
 {
 }