Table of Contents

Class ReportException

Namespace
HP.LFT.Report
Assembly
HP.LFT.Report.dll

The exceptions thrown when errors occur in Reporter objects.

public class ReportException : Exception, ISerializable, _Exception
Inheritance
ReportException
Implements
Inherited Members

Constructors

ReportException()

Initializes a new instance of the ReportException class.

public ReportException()

ReportException(SerializationInfo, StreamingContext)

Initializes a new instance of the ReportException class with serialized data.

protected ReportException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

context StreamingContext

The StreamingContext that contains contextual information about the source or destination.

ReportException(string)

Initializes a new instance of the ReportException class with the specified error message.

public ReportException(string message)

Parameters

message string

The error message with the reason for this exception.

ReportException(string, Exception)

Initializes a new instance of the ReportException class with the specified error message and a reference to the inner exception that is the cause of this exception.

public ReportException(string message, Exception exception)

Parameters

message string

The error message with the reason for this exception.

exception Exception

The inner exception that caused this exception.

Properties

ErrorCode

The error code associated with the exception, if applicable.

public int ErrorCode { get; }

Property Value

int