Class FCExceptionBase
Inheritance
System.Object
    System.Exception
    System.ApplicationException
    FCExceptionBase
      
      
      
      
      
      
      
      
      
      
  Implements
System.Runtime.InteropServices._Exception
    System.Runtime.Serialization.ISerializable
  Inherited Members
      System.Exception.GetBaseException()
    
    
      System.Exception.ToString()
    
    
      System.Exception.GetType()
    
    
      System.Exception.Data
    
    
      System.Exception.InnerException
    
    
      System.Exception.TargetSite
    
    
      System.Exception.StackTrace
    
    
      System.Exception.HelpLink
    
    
      System.Exception.Source
    
    
      System.Exception.HResult
    
    
      System.Exception.SerializeObjectState
    
    
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.MemberwiseClone()
    
  Namespace: FChoice.Common
Assembly: FChoice.Common.dll
Syntax
public abstract class FCExceptionBase : ApplicationException, _Exception, ISerializableConstructors
FCExceptionBase(Boolean, Exception, Int32, String, Object[])
Declaration
protected FCExceptionBase(bool logException, Exception innerEx, int errorId, string messageId, params object[] args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Boolean | logException | |
| System.Exception | innerEx | |
| System.Int32 | errorId | |
| System.String | messageId | |
| System.Object[] | args | 
FCExceptionBase(Exception, Int32, String, Object[])
Declaration
protected FCExceptionBase(Exception innerEx, int errorId, string messageId, params object[] args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Exception | innerEx | |
| System.Int32 | errorId | |
| System.String | messageId | |
| System.Object[] | args | 
FCExceptionBase(Int32, String, Object[])
Declaration
protected FCExceptionBase(int errorId, string messageId, params object[] args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | errorId | |
| System.String | messageId | |
| System.Object[] | args | 
FCExceptionBase(SerializationInfo, StreamingContext)
Declaration
protected FCExceptionBase(SerializationInfo info, StreamingContext context)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Runtime.Serialization.SerializationInfo | info | |
| System.Runtime.Serialization.StreamingContext | context | 
Properties
ErrorCode
Declaration
public int ErrorCode { get; }Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
ErrorMessageID
Declaration
public string ErrorMessageID { get; }Property Value
| Type | Description | 
|---|---|
| System.String | 
Message
Declaration
public override string Message { get; }Property Value
| Type | Description | 
|---|---|
| System.String | 
Overrides
System.Exception.Message
  
  MessageProvider
Declaration
public static IErrorMessageProvider MessageProvider { get; }Property Value
| Type | Description | 
|---|---|
| IErrorMessageProvider | 
Methods
FormatMessage(String, String, Object[])
Declaration
protected virtual string FormatMessage(string messageId, string messageFmt, params object[] args)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | messageId | |
| System.String | messageFmt | |
| System.Object[] | args | 
Returns
| Type | Description | 
|---|---|
| System.String | 
GetErrorMessageFormat(Object, String)
Declaration
protected virtual string GetErrorMessageFormat(object resData, string messageId)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | resData | |
| System.String | messageId | 
Returns
| Type | Description | 
|---|---|
| System.String | 
GetObjectData(SerializationInfo, StreamingContext)
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Runtime.Serialization.SerializationInfo | info | |
| System.Runtime.Serialization.StreamingContext | context | 
Overrides
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
  
  GetResourceData()
Declaration
protected virtual object GetResourceData()Returns
| Type | Description | 
|---|---|
| System.Object | 
LoadErrorResourceSet(String)
Declaration
protected ResourceSet LoadErrorResourceSet(string resourceFileName)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | resourceFileName | 
Returns
| Type | Description | 
|---|---|
| System.Resources.ResourceSet | 
SetMessageProvider(IErrorMessageProvider)
Declaration
public static void SetMessageProvider(IErrorMessageProvider provider)Parameters
| Type | Name | Description | 
|---|---|---|
| IErrorMessageProvider | provider | 
Implements
      System.Runtime.InteropServices._Exception
  
  
      System.Runtime.Serialization.ISerializable