public class ErrorCodeStatusMapping extends Object
| Constructor and Description |
|---|
ErrorCodeStatusMapping() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getStatusCodeForError(String errorCode)
Get the HTTP status code for the given error code
|
public static int getStatusCodeForError(String errorCode)
errorCode - the error code, can be null.See http://www.xins.org/.