Exception Class
Namespace: Stimulsoft.System
Inheritance
Inherits from: Error
Constructors
| Constructor | Description |
|---|---|
| constructor(string message) |
constructor(message: string)
Parameters
- message (string)
Methods
| Method | Returns | Description |
|---|---|---|
getMessage static |
string | |
log static |
LogStatus | |
logEvent static |
LogStatus | |
logExpression static |
LogStatus | |
logSeriesExpression static |
LogStatus |
Method Details
getMessage static
getMessage(exception: Exception | string): string
Parameters
- exception (Exception | string)
Returns string
log static
log(exception: Exception | string, obj: any, message: string): LogStatus
Parameters
- exception (Exception | string)
- obj (any)
- message (string)
Returns LogStatus
logEvent static
logEvent(exception: Exception | string, compObject: any, eventName: string): LogStatus
Parameters
- exception (Exception | string)
- compObject (any)
- eventName (string)
Returns LogStatus
logExpression static
logExpression(exception: Exception | string, compObject: any, propertyName: string): LogStatus
Parameters
- exception (Exception | string)
- compObject (any)
- propertyName (string)
Returns LogStatus
logSeriesExpression static
logSeriesExpression(exception: Exception | string, compObject: any, series: string, propertyName: string): LogStatus
Parameters
- exception (Exception | string)
- compObject (any)
- series (string)
- propertyName (string)
Returns LogStatus