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++; } }
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);} }
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);} }
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; }
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); }
/// <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); } }
public FailedToCreateTests(global::System.Exception exception) /* MethodBuilder.Create */ { }
public NTLMEngineException(string @string, global::System.Exception exception) /* MethodBuilder.Create */ { }
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); }
partial void Principals_All_ExecuteFailed(global::System.Exception exception);
public static string GetFilteredTrace(global::System.Exception exception) /* MethodBuilder.Create */ { return(default(string)); }
public XPathException(global::System.Exception exception) /* MethodBuilder.Create */ { }
public XPathFactoryConfigurationException(global::System.Exception exception) /* MethodBuilder.Create */ { }
public file_not_found_exception(string mesg, global::System.Exception inner) : base(mesg, inner) { }
private static void __TilesForMenu_Failed(global::LightSwitchApplication.ApplicationDataService d, object[] args, global::System.Exception ex) { d.TilesForMenu_ExecuteFailed((string)args[0], ex); }
partial void TilesForMenu_ExecuteFailed(string MenuName, global::System.Exception exception);
public PgpDataValidationException(string message, global::System.Exception exception) : base(message, exception) { }
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; }
public virtual void AddError(global::Junit.Framework.ITest test, global::System.Exception exception) /* MethodBuilder.Create */ { }
private static void __SaveChanges_Failed(global::LightSwitchApplication.ApplicationDataService d, object[] args, global::System.Exception ex) { d.SaveChanges_ExecuteFailed(ex); }
public abstract void TestFailed(int int32, global::Junit.Framework.ITest test, global::System.Exception exception) /* MethodBuilder.Create */;
private static void __Principals_All_Failed(global::LightSwitchApplication.ApplicationDataService d, object[] args, global::System.Exception ex) { d.Principals_All_ExecuteFailed(ex); }
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); }
public UnsupportedDigestAlgorithmException(string @string, global::System.Exception exception) /* MethodBuilder.Create */ { }
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) { }
public UnsupportedDigestAlgorithmException(string message, global::System.Exception cause) /* MethodBuilder.Create */ { }
public MalformedCookieException(string message, global::System.Exception cause) /* MethodBuilder.Create */ { }
public NTLMEngineException(string message, global::System.Exception cause) /* MethodBuilder.Create */ { }
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++; } }
public invalid_column_type(string mesg, global::System.Exception inner) : base(mesg, inner) { }
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; }
partial void SaveChanges_ExecuteFailed(global::System.Exception exception);
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); } }