示例#1
0
 public static void Set(global::System.Exception e)
 {
     if (pendingException != null)
     throw new global::System.ApplicationException("FATAL: An earlier pending exception from unmanaged code was missed and thus not thrown (" + pendingException.ToString() + ")", e);
       pendingException = e;
       lock(typeof(examplePINVOKE)) {
     numExceptionsPending++;
       }
 }
示例#2
0
 private static void @__ctorException2(global::System.IntPtr @__envp, global::net.sf.jni4net.utils.JniLocalHandle @__class, global::net.sf.jni4net.utils.JniLocalHandle @__obj, global::net.sf.jni4net.utils.JniLocalHandle message, global::net.sf.jni4net.utils.JniLocalHandle innerException)
 {
     // (Ljava/lang/String;Lsystem/Exception;)V
     // (LSystem/String;LSystem/Exception;)V
     global::net.sf.jni4net.jni.JNIEnv @__env = global::net.sf.jni4net.jni.JNIEnv.Wrap(@__envp);
     try {
     global::System.Exception @__real = new global::System.Exception(global::net.sf.jni4net.utils.Convertor.StrongJ2CString(@__env, message), global::net.sf.jni4net.utils.Convertor.FullJ2C<global::System.Exception>(@__env, innerException));
     global::net.sf.jni4net.utils.Convertor.InitProxy(@__env, @__obj, @__real);
     }catch (global::System.Exception __ex){@__env.ThrowExisting(__ex);}
 }
示例#3
0
 private static void @__ctorException0(global::System.IntPtr @__envp, global::net.sf.jni4net.utils.JniLocalHandle @__class, global::net.sf.jni4net.utils.JniLocalHandle @__obj)
 {
     // ()V
     // ()V
     global::net.sf.jni4net.jni.JNIEnv @__env = global::net.sf.jni4net.jni.JNIEnv.Wrap(@__envp);
     try {
     global::System.Exception @__real = new global::System.Exception();
     global::net.sf.jni4net.utils.Convertor.InitProxy(@__env, @__obj, @__real);
     }catch (global::System.Exception __ex){@__env.ThrowExisting(__ex);}
 }
示例#4
0
 public static global::System.Exception Retrieve()
 {
     global::System.Exception e = null;
       if (numExceptionsPending > 0) {
     if (pendingException != null) {
       e = pendingException;
       pendingException = null;
       lock(typeof(examplePINVOKE)) {
     numExceptionsPending--;
       }
     }
       }
       return e;
 }
示例#5
0
                private static global::System.Exception _ShowCreateNewProduct_CanInvoke(global::LightSwitchApplication.Application.DetailsClass d, global::System.Collections.ObjectModel.ReadOnlyCollection <object> args, global::System.Exception ex)
                {
                    bool result = true;

                    d.Application.CreateNewProduct_CanRun(ref result);
                    return(result ? null : ex);
                }
示例#6
0
 /// <summary>Called to dispatch events to the common module listener</summary>
 /// <param name="id">The ID of the event </param>
 /// <param name="token">The cancellation token for the event </param>
 /// <param name="getEventData">A delegate to get the detailed event data</param>
 /// <param name="signal">The callback for the event dispatcher </param>
 /// <param name="invocationInfo">The <see cref="System.Management.Automation.InvocationInfo" /> from the cmdlet</param>
 /// <param name="parameterSetName">the cmdlet's parameterset name.</param>
 /// <param name="correlationId">the cmdlet's correlation id.</param>
 /// <param name="processRecordId">the cmdlet's process record correlation id.</param>
 /// <param name="exception">the exception that is being thrown (if available)</param>
 /// <returns>
 /// A <see cref="global::System.Threading.Tasks.Task" /> that will be complete when handling of the event is completed.
 /// </returns>
 public async global::System.Threading.Tasks.Task Signal(string id, global::System.Threading.CancellationToken token, global::System.Func <global::System.EventArgs> getEventData, SignalDelegate signal, global::System.Management.Automation.InvocationInfo invocationInfo, string parameterSetName, string correlationId, string processRecordId, global::System.Exception exception)
 {
     using ( NoSynchronizationContext )
     {
         await EventListener?.Invoke(id, token, getEventData, signal, invocationInfo, parameterSetName, correlationId, processRecordId, exception);
     }
 }
示例#7
0
 public FailedToCreateTests(global::System.Exception exception)                                     /* MethodBuilder.Create */
 {
 }
示例#8
0
 public NTLMEngineException(string @string, global::System.Exception exception)                         /* MethodBuilder.Create */
 {
 }
示例#9
0
 private static void __Principals_SingleOrDefault_Failed(global::LightSwitchApplication.ApplicationDataService d, object[] args, global::System.Exception ex)
 {
     d.Principals_SingleOrDefault_ExecuteFailed((global::System.Nullable <int>)args[0], ex);
 }
示例#10
0
 partial void Principals_All_ExecuteFailed(global::System.Exception exception);
示例#11
0
 public static string GetFilteredTrace(global::System.Exception exception)                         /* MethodBuilder.Create */
 {
     return(default(string));
 }
示例#12
0
 public XPathException(global::System.Exception exception)                         /* MethodBuilder.Create */
 {
 }
示例#13
0
 public XPathFactoryConfigurationException(global::System.Exception exception)                         /* MethodBuilder.Create */
 {
 }
示例#14
0
 public file_not_found_exception(string mesg, global::System.Exception inner) : base(mesg, inner)
 {
 }
示例#15
0
 private static void __TilesForMenu_Failed(global::LightSwitchApplication.ApplicationDataService d, object[] args, global::System.Exception ex)
 {
     d.TilesForMenu_ExecuteFailed((string)args[0], ex);
 }
示例#16
0
 partial void TilesForMenu_ExecuteFailed(string MenuName, global::System.Exception exception);
 public PgpDataValidationException(string message, global::System.Exception exception)
     : base(message, exception)
 {
 }
示例#18
0
 public TarException(string message, global::System.Exception exception)
     : base(message, exception)
 {
 }
 public static global::System.Exception Retrieve() {
   global::System.Exception e = null;
   if (numExceptionsPending > 0) {
     if (pendingException != null) {
       e = pendingException;
       pendingException = null;
       lock(typeof(FiftyOneDegreesPatternV3PINVOKE)) {
         numExceptionsPending--;
       }
     }
   }
   return e;
 }
示例#20
0
 public virtual void AddError(global::Junit.Framework.ITest test, global::System.Exception exception)                         /* MethodBuilder.Create */
 {
 }
示例#21
0
 private static void __SaveChanges_Failed(global::LightSwitchApplication.ApplicationDataService d, object[] args, global::System.Exception ex)
 {
     d.SaveChanges_ExecuteFailed(ex);
 }
示例#22
0
 public abstract void TestFailed(int int32, global::Junit.Framework.ITest test, global::System.Exception exception) /* MethodBuilder.Create */;
示例#23
0
 private static void __Principals_All_Failed(global::LightSwitchApplication.ApplicationDataService d, object[] args, global::System.Exception ex)
 {
     d.Principals_All_ExecuteFailed(ex);
 }
示例#24
0
 protected virtual void FailWithError(byte alertLevel, byte alertDescription, string message, global::System.Exception cause)
 {
     //IL_0046: Unknown result type (might be due to invalid IL or missing references)
     if (!mClosed)
     {
         mClosed = true;
         if (alertLevel == 2)
         {
             InvalidateSession();
             mFailedWithError = true;
         }
         RaiseAlert(alertLevel, alertDescription, message, cause);
         mRecordStream.SafeClose();
         if (alertLevel != 2)
         {
             return;
         }
     }
     throw new IOException(TLS_ERROR_MESSAGE);
 }
示例#25
0
 public UnsupportedDigestAlgorithmException(string @string, global::System.Exception exception)                         /* MethodBuilder.Create */
 {
 }
示例#26
0
 protected virtual void RaiseAlert(byte alertLevel, byte alertDescription, string message, global::System.Exception cause)
 {
     Peer.NotifyAlertRaised(alertLevel, alertDescription, message, cause);
     byte[] buf = new byte[2] {
         alertLevel, alertDescription
     };
     SafeWriteRecord(21, buf, 0, 2);
 }
 public X509StoreException(string message, global::System.Exception e)
     : base(message, e)
 {
 }
示例#28
0
 public UnsupportedDigestAlgorithmException(string message, global::System.Exception cause)                         /* MethodBuilder.Create */
 {
 }
示例#29
0
 public MalformedCookieException(string message, global::System.Exception cause)                         /* MethodBuilder.Create */
 {
 }
示例#30
0
 public NTLMEngineException(string message, global::System.Exception cause)                         /* MethodBuilder.Create */
 {
 }
示例#31
0
 public LayoutCycleException(string message, global::System.Exception innerException)
 {
 }
 public static void Set(global::System.Exception e) {
   if (pendingException != null)
     throw new global::System.ApplicationException("FATAL: An earlier pending exception from unmanaged code was missed and thus not thrown (" + pendingException.ToString() + ")", e);
   pendingException = e;
   lock(typeof(FiftyOne.Mobile.Detection.Provider.Interop.PatternPINVOKE)) {
     numExceptionsPending++;
   }
 }
示例#33
0
 public invalid_column_type(string mesg, global::System.Exception inner) : base(mesg, inner)
 {
 }
示例#34
0
 public format_exception(string mesg, global::System.Exception inner) : base(mesg, inner)
 {
 }
 public static global::System.Exception Retrieve() {
   global::System.Exception e = null;
   if (numExceptionsPending > 0) {
     if (pendingException != null) {
       e = pendingException;
       pendingException = null;
       lock(typeof(FiftyOne.Mobile.Detection.Provider.Interop.PatternPINVOKE)) {
         numExceptionsPending--;
       }
     }
   }
   return e;
 }
示例#36
0
 partial void SaveChanges_ExecuteFailed(global::System.Exception exception);
示例#37
0
 partial void Principals_SingleOrDefault_ExecuteFailed(global::System.Nullable <int> Id, global::System.Exception exception);
		internal static global::System.Exception[] Func_rg_Exception__(
					global::System.__ComObject __this, 
					global::System.RuntimeTypeHandle __typeHnd, 
					int __targetIndex)
		{
			// Setup
			global::System.Exception__Impl.UnsafeType* unsafe___value__retval = default(global::System.Exception__Impl.UnsafeType*);
			global::System.Exception[] __value__retval = default(global::System.Exception[]);
			uint unsafe___value__retval_mcgLength = 0;
			int unsafe___return__;
			try
			{
				// Marshalling
				unsafe___value__retval = null;
				// Call to native method
				unsafe___return__ = global::McgInterop.ComCallHelpers.ComCall__HRESULT(
									__this, 
									__typeHnd, 
									__targetIndex, 
									&(unsafe___value__retval_mcgLength), 
									&(unsafe___value__retval)
								);
				global::System.Runtime.InteropServices.DebugAnnotations.PreviousCallContainsUserCode();
				if (unsafe___value__retval == null)
					__value__retval = null;
				else
				{
					__value__retval = new global::System.Exception[unsafe___value__retval_mcgLength];
					if (__value__retval != null)
						for (uint mcgIdx = 0; (mcgIdx < unsafe___value__retval_mcgLength); mcgIdx++)
						{
							// [fwd] [out] [retval] [nativebyref] [optional] [Mcg.CodeGen.WinRTHResultMarshaller] System_Exception__Windows_Foundation__HResult __value__retval
							__value__retval[mcgIdx] = global::System.Runtime.InteropServices.McgMarshal.GetExceptionForHR(
												unsafe___value__retval[mcgIdx].Value, 
												true
											);
						}
				}
				// Return
				return __value__retval;
			}
			finally
			{
				// Cleanup
				global::System.Runtime.InteropServices.ExternalInterop.SafeCoTaskMemFree(unsafe___value__retval);
			}
		}