• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

zalando / problem / #2625

24 Feb 2023 06:50AM CUT coverage: 100.0%. Remained the same
#2625

push

web-flow
Merge pull request #406 from zalando/AlexanderYastrebov-patch-1

CODEOWNERS: remove @AlexanderYastrebov

375 of 375 relevant lines covered (100.0%)

1.0 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/jackson-datatype-problem/src/main/java/org/zalando/problem/jackson/ExceptionalMixin.java
1
package org.zalando.problem.jackson;
2

3
import com.fasterxml.jackson.annotation.JsonIgnore;
4
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
5
import com.fasterxml.jackson.annotation.JsonInclude;
6
import com.fasterxml.jackson.annotation.JsonProperty;
7
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
8
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
9
import org.zalando.problem.ThrowableProblem;
10

11
import static com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL;
12

13
@JsonIgnoreProperties(ignoreUnknown = true)
14
interface ExceptionalMixin {
15

16
    @JsonIgnore
17
    String getMessage();
18

19
    @JsonIgnore
20
    String getLocalizedMessage();
21

22
    @JsonInclude(NON_NULL)
23
    ThrowableProblem getCause();
24

25
    // decision about inclusion is up to derived mixins
26
    @JsonProperty("stacktrace")
27
    @JsonSerialize(contentUsing = ToStringSerializer.class)
28
    StackTraceElement[] getStackTrace();
29

30
    @JsonIgnore
31
    Throwable[] getSuppressed();
32

33
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc