-
public class BacktraceReport
Captured application error
-
-
Field Summary
Fields Modifier and Type Field Description public UUID
uuid
public long
timestamp
public Boolean
exceptionTypeReport
public String
classifier
public Map<String, Object>
attributes
public String
message
public Exception
exception
public List<String>
attachmentPaths
public List<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 BacktraceReport(UUID uuid, long timestamp, boolean exceptionTypeReport, String classifier, Map<String, Object> attributes, String message, Exception exception, List<String> attachmentPaths, List<BacktraceStackFrame> diagnosticStack)
-
Method Summary
Modifier and Type Method Description static Map<String, Object>
concatAttributes(BacktraceReport report, Map<String, Object> attributes)
Concat two dictionaries with attributes BacktraceData
toBacktraceData(Context context, Map<String, Object> clientAttributes)
BacktraceData
toBacktraceData(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)
-
-
-
-