PreEmptive Analytics iOS API  2.0
The official iOS API for sending PreEmptive Analytics data.
PAExceptionInfo.h
1 //
2 // PAExceptionInfo.h
3 // PreEmptiveAnalyticsClient
4 //
5 // Copyright (c) 2013 PreEmptive Solutions. All rights reserved.
6 //
7 
8 #import <Foundation/Foundation.h>
9 #import "PABinaryInfo.h"
10 #import "PAExtendedKeys.h"
11 #import "PAComponentInfo.h"
12 
13 
14 
18 @interface PAExceptionInfo : NSObject
19 
23 enum PAExceptionEventType : NSUInteger {
27 };
28 
35 - (id)initWithNSError:(NSError*)error type:(enum PAExceptionEventType)type;
36 
43 - (id)initWithNSException:(NSException*)exception type:(enum PAExceptionEventType)type;
44 
52 -(id)initWithName:(NSString*)name message:(NSString*)message type:(enum PAExceptionEventType)type;
53 
57 -(void) addComponentInfo:(PAComponentInfo*) componentInfo;
58 
63 -(NSArray*) componentInfos;
64 
68 @property (strong) NSString* name;
69 
73 @property (strong) NSString* message;
74 
78 @property (strong) NSString* contactInfo;
79 
83 @property (strong) NSString* comment;
84 
85 
86 
90 @property enum PAExceptionEventType eventType;
91 
92 
93 @end
PAExceptionEventType
Values that represent the type of exception.
Encapsulates information about a component.
Class for handling exception information.