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
pNumberintThe number to use (do not use 0, this may not be recognized as error).
pDescriptionstringThe description (Message) to use.
PolarException(int, string, string)
Constructor
public PolarException(int pNumber, string pSource, string pDescription)
Parameters
pNumberintThe number to use (do not use 0, this may not be recognized as error).
pSourcestringThe Source (where did the error come from).
pDescriptionstringThe description (Message) to use.
PolarException(string)
Default constructor with only the description. HResult/Number is set to -1.
public PolarException(string pDescription)
Parameters
pDescriptionstringThe description (Message) to use.
Properties
Description
Returns the Message.
public string Description { get; }
Property Value
Number
The number of the exception (HResult).
public int Number { get; set; }