コード例 #1
0
ファイル: Vsa.cs プロジェクト: ForNeVeR/pnet
 public VsaException(VsaError error, String message,
                     Exception innerException)
     : base(message, innerException)
 {
     this.error = error;
                 #if !ECMA_COMPAT
     this.HResult = (int)error;
                 #endif
 }
コード例 #2
0
ファイル: Vsa.cs プロジェクト: ForNeVeR/pnet
        // Serialization support.
#if CONFIG_SERIALIZATION
        public VsaException(SerializationInfo info, StreamingContext context)
        {
            if (info == null)
            {
                throw new ArgumentNullException("info");
            }
            error = (VsaError)(info.GetInt32("VsaException_HResult"));
                        #if !ECMA_COMPAT
            HResult  = (int)error;
            HelpLink = info.GetString("VsaException_HelpLink");
            Source   = info.GetString("VsaException_Source");
                        #endif
        }
コード例 #3
0
 public VsaException(VsaError error, string message, Exception innerException) : base(message, innerException)
 {
    HResult = (int)error;
 }
コード例 #4
0
 public VsaException(VsaError error) : base(String.Empty, (int)error)
 {
 }
コード例 #5
0
 public VsaException(VsaError error, string message) : base(message, (int)error)
 {            
 }
コード例 #6
0
ファイル: Vsa.cs プロジェクト: jjenki11/blaze-chem-rendering
	public VsaException(VsaError error, String message,
						Exception innerException)
			: base(message, innerException)
			{
				this.error = error;
			#if !ECMA_COMPAT
				this.HResult = (int)error;
			#endif
			}
コード例 #7
0
 public VsaException(VsaError error)
 {
     HResult = (int)error;
 }
コード例 #8
0
ファイル: vsa7.cs プロジェクト: blancosj/dodonet-framework
 public VsaException(VsaError error, string message) : base(message, (int)error)
 {
 }
コード例 #9
0
 public VsaException(VsaError error, string message) : this(error, message, null)
 {
 }
コード例 #10
0
ファイル: vsa7.cs プロジェクト: ArildF/masters
 public VsaException(VsaError error) : this(error, "", null)
 {
 }
コード例 #11
0
ファイル: vsa7.cs プロジェクト: ArildF/masters
 public VsaException(VsaError error, string message) : this(error, message, null)
 {
 }
コード例 #12
0
 public VsaException(VsaError error, string message, System.Exception innerException)
 {
 }
コード例 #13
0
 // Raise an error condition.
 private void Raise(VsaError vsaErrorNumber)
 {
     throw Error(vsaErrorNumber);
 }
コード例 #14
0
 public VsaException(VsaError error, string message)
 {
 }
コード例 #15
0
 public VsaException(VsaError error)
 {
 }
コード例 #16
0
ファイル: Vsa.cs プロジェクト: jjenki11/blaze-chem-rendering
	// Serialization support.
#if CONFIG_SERIALIZATION
	public VsaException(SerializationInfo info, StreamingContext context)
			{
				if(info == null)
				{
					throw new ArgumentNullException("info");
				}
				error = (VsaError)(info.GetInt32("VsaException_HResult"));
			#if !ECMA_COMPAT
				HResult = (int)error;
				HelpLink = info.GetString("VsaException_HelpLink");
				Source = info.GetString("VsaException_Source");
			#endif
			}
コード例 #17
0
        // === Helper Methods ===

        protected VsaException Error(VsaError vsaErrorNumber)
        {
            return(new VsaException(vsaErrorNumber));
        }
コード例 #18
0
ファイル: VsaException.cs プロジェクト: nickchal/pash
		public VsaException (VsaError error)
		{
			HResult = (int) error;
		}
コード例 #19
0
ファイル: vsa7.cs プロジェクト: blancosj/dodonet-framework
 public VsaException(VsaError error) : base(String.Empty, (int)error)
 {
 }
コード例 #20
0
	// Helper method that constructs an error exception.
	protected VsaException Error(VsaError vsaErrorNumber)
			{
				return new VsaException(vsaErrorNumber);
			}
コード例 #21
0
 public VsaException(VsaError error) : this(error, "", null)
 {
 }
コード例 #22
0
 public VsaException(VsaError error, string message)
 {
 }
コード例 #23
0
 public VsaException(VsaError error, string message, Exception innerException) : base(message, innerException)
 {
     HResult = (int)error;
 }
コード例 #24
0
 public VsaException(VsaError error, string message, System.Exception innerException)
 {
 }
コード例 #25
0
	// Raise an error condition.
	private void Raise(VsaError vsaErrorNumber)
			{
				throw Error(vsaErrorNumber);
			}
コード例 #26
0
 public VsaException(VsaError error)
 {
 }