/ fm / liveswitch / UnhandledExceptionArgs
Class: UnhandledExceptionArgs
fm.liveswitch.UnhandledExceptionArgs
Arguments for an unhandled exception.
Table of contents
Constructors
Methods
Constructors
constructor
+ new UnhandledExceptionArgs(exception
: Exception): UnhandledExceptionArgs
Initializes a new instance of the [[fm.liveswitch.unhandledExceptionArgs]] class.
Parameters:
Name | Type | Description |
---|---|---|
exception |
Exception | The exception. |
Returns: UnhandledExceptionArgs
Defined in: Generated/TypeScript/fm.liveswitch/UnhandledExceptionArgs.ts:20
Methods
fmliveswitchUnhandledExceptionArgsInit
▸ Private
fmliveswitchUnhandledExceptionArgsInit(): void
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/UnhandledExceptionArgs.ts:17
getException
▸ getException(): Exception
Gets the unhandled exception.
Returns: Exception
Defined in: Generated/TypeScript/fm.liveswitch/UnhandledExceptionArgs.ts:46
getHandled
▸ getHandled(): boolean
Gets whether the exception has been
appropriately handled. If set to true
,
then the exception will not be thrown.
Returns: boolean
Defined in: Generated/TypeScript/fm.liveswitch/UnhandledExceptionArgs.ts:60
getTypeString
▸ getTypeString(): string
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/UnhandledExceptionArgs.ts:9
setHandled
▸ setHandled(value
: boolean): void
Sets whether the exception has been
appropriately handled. If set to true
,
then the exception will not be thrown.
Parameters:
Name | Type |
---|---|
value |
boolean |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/UnhandledExceptionArgs.ts:74