Mobile API Reference  MicroStrategy 2019
MSTRException Class Reference

#import <MSTRException.h>

Inheritance diagram for MSTRException:

Instance Methods

(MSTRException *) - initWithErrorDetails:
 
(ErrorDetails *) - errorDetails
 
(void) - log
 

Detailed Description

MSTRException is the generic class to represent an exception in MicroStrategyMobileSDK. Application code can throw and catch this kind of exceptions when something unexpected happens.

Method Documentation

◆ errorDetails()

- (ErrorDetails*) errorDetails

◆ initWithErrorDetails:()

- (MSTRException*) initWithErrorDetails: (ErrorDetails *)  details

Initializer with ErrorDetails

Parameters
detailsthe ErrorDetails used to create the MSTRException
Returns
an MSTRException

◆ log()

- (void) log

Send the string representation of MSTRError to standard output.