PrintWriter pw = new PrintWriter(sw);
t.printStackTrace(pw);
String text = sw.toString();
Excerpt excerpt = startExceprt(2 + message.length() + 2 + text.length(), 'X');
excerpt.writeUTF(message);
excerpt.writeUTF(text);
excerpt.finish();
}
@NotNull
public Excerpt startExceprt(int capacity, char type) {