-
public class BacktraceReportCaptured application error
-
-
Field Summary
Fields Modifier and Type Field Description public UUIDuuidpublic longtimestamppublic BooleanexceptionTypeReportpublic Stringclassifierpublic Map<String, Object>attributespublic Stringmessagepublic Exceptionexceptionpublic List<String>attachmentPathspublic ArrayList<BacktraceStackFrame>diagnosticStack
-
Constructor Summary
Constructors Constructor Description BacktraceReport(String message)Create new instance of Backtrace report to send a report with custom client message BacktraceReport(String message, Map<String, Object> attributes)Create new instance of Backtrace report to send a reportwith custom client message and attributes BacktraceReport(String message, List<String> attachmentPaths)Create new instance of Backtrace report to send a reportwith custom client message, attributes and attachments BacktraceReport(String message, Map<String, Object> attributes, List<String> attachmentPaths)Create new instance of Backtrace report to send a reportwith custom client message, attributes and attachments BacktraceReport(Throwable exception)Create new instance of Backtrace report to send a reportwith application exception BacktraceReport(Throwable exception, Map<String, Object> attributes)Create new instance of Backtrace report to send a reportwith application exception and attributes BacktraceReport(Exception exception, List<String> attachmentPaths)Create new instance of Backtrace report to send a reportwith application exception, attributes and attachments BacktraceReport(Throwable throwable, Map<String, Object> attributes, List<String> attachmentPaths)Create new instance of Backtrace report to send a reportwith application exception, attributes and attachments
-
Method Summary
Modifier and Type Method Description static Map<String, Object>concatAttributes(BacktraceReport report, Map<String, Object> attributes)Concat two dictionaries with attributes BacktraceDatatoBacktraceData(Context context, Map<String, Object> clientAttributes)BacktraceDatatoBacktraceData(Context context, Map<String, Object> clientAttributes, boolean isProguardEnabled)-
-
Constructor Detail
-
BacktraceReport
BacktraceReport(String message)
Create new instance of Backtrace report to send a report with custom client message- Parameters:
message- custom client message
-
BacktraceReport
BacktraceReport(String message, Map<String, Object> attributes)
Create new instance of Backtrace report to send a reportwith custom client message and attributes- Parameters:
message- custom client messageattributes- additional information about application state
-
BacktraceReport
BacktraceReport(String message, List<String> attachmentPaths)
Create new instance of Backtrace report to send a reportwith custom client message, attributes and attachments- Parameters:
message- custom client messageattachmentPaths- path to all report attachments
-
BacktraceReport
BacktraceReport(String message, Map<String, Object> attributes, List<String> attachmentPaths)
Create new instance of Backtrace report to send a reportwith custom client message, attributes and attachments- Parameters:
message- custom client messageattributes- additional information about application stateattachmentPaths- path to all report attachments
-
BacktraceReport
BacktraceReport(Throwable exception)
Create new instance of Backtrace report to send a reportwith application exception- Parameters:
exception- current exception
-
BacktraceReport
BacktraceReport(Throwable exception, Map<String, Object> attributes)
Create new instance of Backtrace report to send a reportwith application exception and attributes- Parameters:
exception- current exceptionattributes- additional information about application state
-
BacktraceReport
BacktraceReport(Exception exception, List<String> attachmentPaths)
Create new instance of Backtrace report to send a reportwith application exception, attributes and attachments- Parameters:
exception- current exceptionattachmentPaths- path to all report attachments
-
BacktraceReport
BacktraceReport(Throwable throwable, Map<String, Object> attributes, List<String> attachmentPaths)
Create new instance of Backtrace report to send a reportwith application exception, attributes and attachments- Parameters:
throwable- current throwableattributes- additional information about application stateattachmentPaths- path to all report attachments
-
-
Method Detail
-
concatAttributes
static Map<String, Object> concatAttributes(BacktraceReport report, Map<String, Object> attributes)
Concat two dictionaries with attributes
- Parameters:
report- current reportattributes- attributes to concatenate
-
toBacktraceData
BacktraceData toBacktraceData(Context context, Map<String, Object> clientAttributes)
-
toBacktraceData
BacktraceData toBacktraceData(Context context, Map<String, Object> clientAttributes, boolean isProguardEnabled)
-
-
-
-