
backtrace.io.BacktraceMessage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of backtrace-java Show documentation
Show all versions of backtrace-java Show documentation
Backtrace's integration with Java applications allows customers to capture and report handled and unhandled java exceptions.
The newest version!
package backtrace.io;
import backtrace.io.data.BacktraceData;
import backtrace.io.events.OnServerResponseEvent;
/**
* The message that is sent from the application, which will be added to the queue and handled by the thread
* which sending the message. After receiving the response, callback event will be executed.
*/
public class BacktraceMessage {
private BacktraceData backtraceData;
private OnServerResponseEvent callback;
/**
* Creates new instance of BacktraceMessage
*
* @param backtraceData Message which contains information about error, attributes and threads
* @param callback Event which will be executed after receiving the response
*/
public BacktraceMessage(BacktraceData backtraceData, OnServerResponseEvent callback) {
this.backtraceData = backtraceData;
this.callback = callback;
}
BacktraceData getBacktraceData() {
return backtraceData;
}
OnServerResponseEvent getCallback() {
return callback;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy