C# Class Gurux.DLMS.GXDLMSException

DLMS specific exception class that has error description available from GetDescription method.
Inheritance: System.Exception
Mostra file Open project: Gurux/Gurux.DLMS.Net

Public Methods

Method Description
GXDLMSException ( int errCode ) : System
GXDLMSException ( string message ) : System

Private Methods

Method Description
GXDLMSException ( AssociationResult result, SourceDiagnostic diagnostic ) : System

Constructor for AARE error.

GXDLMSException ( ConfirmedServiceError service, ServiceError type, byte value ) : System

Constructor for Confirmed ServiceError.

GXDLMSException ( ExceptionStateError stateError, ExceptionServiceError serviceError ) : System

Constructor for AARE error.

GetConfirmedServiceError ( ConfirmedServiceError stateError ) : string
GetDiagnostic ( SourceDiagnostic diagnostic ) : string

Get diagnostic as a string.

GetResult ( AssociationResult result ) : string

Get resulat as a string.

GetServiceError ( ExceptionServiceError serviceError ) : string
GetServiceError ( ServiceError error ) : string
GetServiceErrorValue ( ServiceError error, byte value ) : string
GetStateError ( ExceptionStateError stateError ) : string

Method Details

GXDLMSException() public method

public GXDLMSException ( int errCode ) : System
errCode int
return System

GXDLMSException() public method

public GXDLMSException ( string message ) : System
message string
return System