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
intThe number to use (do not use 0, this may not be recognized as error).
pDescription
stringThe description (Message) to use.
PolarException(int, string, string)
Constructor
public PolarException(int pNumber, string pSource, string pDescription)
Parameters
pNumber
intThe number to use (do not use 0, this may not be recognized as error).
pSource
stringThe Source (where did the error come from).
pDescription
stringThe description (Message) to use.
PolarException(string)
Default constructor with only the description. HResult/Number is set to -1.
public PolarException(string pDescription)
Parameters
pDescription
stringThe 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; }