C# Class HFM.HFMException

Inheritance: System.ApplicationException
Mostrar archivo Open project: agardiner/hfmcmd

Protected Properties

Property Type Description
_errorCode int
_formattedMessage String
_log log4net.ILog

Public Methods

Method Description
HFMException ( COMException inner ) : System

Constructor for creating an HFM exception from a COMException.

HFMException ( int errorCode ) : System

Create an HFMException for a given error code.

HFMException ( string errorMsg ) : System

Create an HFMException with the specified error message.

Protected Methods

Method Description
HFMException ( System info, System context ) : System

Constructor needed for serialization when exception propagates from a remoting server to the client.

Method Details

HFMException() public method

Constructor for creating an HFM exception from a COMException.
public HFMException ( COMException inner ) : System
inner System.Runtime.InteropServices.COMException The COMException that is to be converted /// to an HFMException.
return System

HFMException() protected method

Constructor needed for serialization when exception propagates from a remoting server to the client.
protected HFMException ( System info, System context ) : System
info System
context System
return System

HFMException() public method

Create an HFMException for a given error code.
public HFMException ( int errorCode ) : System
errorCode int
return System

HFMException() public method

Create an HFMException with the specified error message.
public HFMException ( string errorMsg ) : System
errorMsg string
return System

Property Details

_errorCode protected_oe property

protected int _errorCode
return int

_formattedMessage protected_oe property

protected String _formattedMessage
return String

_log protected_oe static_oe property

protected static ILog,log4net _log
return log4net.ILog