View Javadoc

1   package com.atlassian.plugins.rest.common.validation;
2   
3   import javax.xml.bind.annotation.XmlAccessorType;
4   import javax.xml.bind.annotation.XmlRootElement;
5   
6   /**
7    * Represents a validation error
8    *
9    * @since 2.0
10   */
11  @XmlRootElement
12  @XmlAccessorType
13  public class ValidationError {
14      private String message;
15      private String path;
16  
17      public String getMessage() {
18          return message;
19      }
20  
21      public void setMessage(String message) {
22          this.message = message;
23      }
24  
25      public String getPath() {
26          return path;
27      }
28  
29      public void setPath(String path) {
30          this.path = path;
31      }
32  }