FMLiveSwitchUnhandledExceptionArgs Class Reference

Arguments for an unhandled exception. More...

Instance Methods

(NSException *) - exception
 Gets the unhandled exception. More...
 
(bool) - handled
 Gets whether the exception has been appropriately handled. More...
 
(instancetype) - initWithException:
 Initializes a new instance of the FMLiveSwitchUnhandledExceptionArgs class. More...
 
(void) - setHandled:
 Sets whether the exception has been appropriately handled. More...
 

Class Methods

(FMLiveSwitchUnhandledExceptionArgs *) + unhandledExceptionArgsWithException:
 Initializes a new instance of the FMLiveSwitchUnhandledExceptionArgs class. More...
 

Detailed Description

Arguments for an unhandled exception.

Method Documentation

◆ exception

- (NSException*) exception

Gets the unhandled exception.

◆ handled

- (bool) handled

Gets whether the exception has been appropriately handled.

If set to true, then the exception will not be thrown.

◆ initWithException:

- (instancetype) initWithException: (NSException *)  exception

Initializes a new instance of the FMLiveSwitchUnhandledExceptionArgs class.

Parameters
exceptionThe exception.

◆ setHandled:

- (void) setHandled: (bool)  value

Sets whether the exception has been appropriately handled.

If set to true, then the exception will not be thrown.

◆ unhandledExceptionArgsWithException:

+ (FMLiveSwitchUnhandledExceptionArgs*) unhandledExceptionArgsWithException: (NSException *)  exception

Initializes a new instance of the FMLiveSwitchUnhandledExceptionArgs class.

Parameters
exceptionThe exception.