You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
569 B
26 lines
569 B
package de.superx.rest.model; |
|
|
|
import java.util.HashMap; |
|
|
|
/** |
|
* Implements part of a simple data structure that's serialized to JSON and |
|
* complies to the error handling interface of (should be) 'HisBackendService' |
|
* of 'cs.sys.angularbase' |
|
* @author witt |
|
* |
|
*/ |
|
public class ErrorMessage { |
|
|
|
public String field; |
|
|
|
public String message; |
|
|
|
public String messageKey; |
|
|
|
public HashMap<Integer, String> messageParameters; |
|
|
|
public ErrorMessage(String field, String message) { |
|
this.field = field; |
|
this.message = message; |
|
} |
|
}
|
|
|