public class StackTraceInterfaceBinding extends Object implements InterfaceBinding<StackTraceInterface>
StackTraceInterface into a JSON stream.| Constructor and Description |
|---|
StackTraceInterfaceBinding() |
| Modifier and Type | Method and Description |
|---|---|
void |
setInAppFrames(Collection<String> inAppFrames) |
void |
setRemoveCommonFramesWithEnclosing(boolean removeCommonFramesWithEnclosing) |
void |
writeInterface(com.fasterxml.jackson.core.JsonGenerator generator,
StackTraceInterface stackTraceInterface)
Encodes the content of a sentry interface into a JSON stream.
|
public void writeInterface(com.fasterxml.jackson.core.JsonGenerator generator,
StackTraceInterface stackTraceInterface)
throws IOException
InterfaceBindingwriteInterface in interface InterfaceBinding<StackTraceInterface>generator - JSON generator allowing to write JSON content.stackTraceInterface - interface to encode.IOException - thrown in case of failure during the generation of JSON content.public void setRemoveCommonFramesWithEnclosing(boolean removeCommonFramesWithEnclosing)
public void setInAppFrames(Collection<String> inAppFrames)
Copyright © 2012–2019. All rights reserved.