public class ErrorInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
code |
static String |
CODE_ACCESS_ERROR |
static String |
CODE_CLIENT_ERROR |
static String |
CODE_NOT_FOUND_ERROR |
static String |
CODE_SERVER_ERROR |
protected String |
message |
| Constructor and Description |
|---|
ErrorInfo(String message) |
ErrorInfo(String code,
String message) |
| Modifier and Type | Method and Description |
|---|---|
static ErrorInfo |
accessError(String message) |
static ErrorInfo |
clientError(String message) |
String |
getCode() |
String |
getMessage() |
static ErrorInfo |
notFoundError(String message) |
static ErrorInfo |
serverError(String message) |
public static final String CODE_CLIENT_ERROR
public static final String CODE_NOT_FOUND_ERROR
public static final String CODE_ACCESS_ERROR
public static final String CODE_SERVER_ERROR
protected final String code
protected final String message
public ErrorInfo(String message)
Copyright © 2003–2015 eXo Platform SAS. All rights reserved.