Table of Contents

Class PolarException

Namespace
PolarStudioGlobals
Assembly
PolarStudioGlobals.dll

This is the generic exception used for Polar Studio.

public class PolarException : Exception, ISerializable
Inheritance
PolarException
Implements
Inherited Members
Extension Methods

Constructors

PolarException(int, string)

Constructor

public PolarException(int pNumber, string pDescription)

Parameters

pNumber int

The number to use (do not use 0, this may not be recognized as error).

pDescription string

The description (Message) to use.

PolarException(int, string, string)

Constructor

public PolarException(int pNumber, string pSource, string pDescription)

Parameters

pNumber int

The number to use (do not use 0, this may not be recognized as error).

pSource string

The Source (where did the error come from).

pDescription string

The description (Message) to use.

PolarException(string)

Default constructor with only the description. HResult/Number is set to -1.

public PolarException(string pDescription)

Parameters

pDescription string

The description (Message) to use.

Properties

Description

Returns the Message.

public string Description { get; }

Property Value

string

Number

The number of the exception (HResult).

public int Number { get; set; }

Property Value

int