View Javadoc
1   package org.oxerr.vividseats.client.rescu.resource;
2   
3   import java.util.List;
4   
5   import com.fasterxml.jackson.annotation.JsonProperty;
6   
7   import si.mazi.rescu.HttpStatusExceptionSupport;
8   
9   public class VividSeatsException extends HttpStatusExceptionSupport {
10  
11  	private static final long serialVersionUID = 2024101201L;
12  
13  	private final List<String> errors;
14  
15  	public VividSeatsException(
16  		@JsonProperty("success") Boolean success,
17  		@JsonProperty("message") String message,
18  		@JsonProperty("errors") List<String> errors
19  	) {
20  		super(message);
21  		this.errors = errors;
22  	}
23  
24  	public List<String> getErrors() {
25  		return errors;
26  	}
27  
28  }