public class BodyFactory
extends java.lang.Object
| Constructor and Description |
|---|
BodyFactory() |
| Modifier and Type | Method and Description |
|---|---|
com.rollbar.api.payload.data.body.Body |
from(java.lang.Throwable throwable,
java.lang.String description)
Deprecated.
Replaced by
from(ThrowableWrapper, String). |
com.rollbar.api.payload.data.body.Body |
from(ThrowableWrapper throwableWrapper,
java.lang.String description)
Builds the body from the
throwableWrapper and the description
supplied. |
com.rollbar.api.payload.data.body.Body |
from(ThrowableWrapper throwableWrapper,
java.lang.String description,
java.util.List<com.rollbar.api.payload.data.TelemetryEvent> telemetryEvents)
Builds the body from the
throwableWrapper, the description
supplied and telemetry events. |
@Deprecated
public com.rollbar.api.payload.data.body.Body from(java.lang.Throwable throwable,
java.lang.String description)
from(ThrowableWrapper, String).throwable - the throwable.description - the description.public com.rollbar.api.payload.data.body.Body from(ThrowableWrapper throwableWrapper, java.lang.String description)
throwableWrapper and the description
supplied.throwableWrapper - the throwable proxy.description - the description.public com.rollbar.api.payload.data.body.Body from(ThrowableWrapper throwableWrapper, java.lang.String description, java.util.List<com.rollbar.api.payload.data.TelemetryEvent> telemetryEvents)
throwableWrapper, the description
supplied and telemetry events.throwableWrapper - the throwable proxy.description - the description.telemetryEvents - the telemetry events.