A string representation of the status useful for debugging.
()
| 549 | |
| 550 | /** A string representation of the status useful for debugging. */ |
| 551 | @Override |
| 552 | public String toString() { |
| 553 | return MoreObjects.toStringHelper(this) |
| 554 | .add("code", code.name()) |
| 555 | .add("description", description) |
| 556 | .add("cause", cause != null ? getStackTraceAsString(cause) : cause) |
| 557 | .toString(); |
| 558 | } |
| 559 | |
| 560 | private static final class StatusCodeMarshaller implements TrustedAsciiMarshaller<Status> { |
| 561 | @Override |