Class ErrorInfo
java.lang.Object
org.exoplatform.webconferencing.client.ErrorInfo
Basic error entity.
Created by The eXo Platform SAS
Created by The eXo Platform SAS
- Version:
- $Id: ErrorInfo.java 00000 Apr 20, 2015 pnedonosko $
- Author:
- Peter Nedonosko
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final StringThe code.static final StringThe Constant CODE_ACCESS_ERROR.static final StringThe Constant CODE_CLIENT_ERROR.static final StringThe Constant CODE_NOT_FOUND_ERROR.static final StringThe Constant CODE_SERVER_ERROR.protected final StringThe message. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorInfoaccessError(String message) Access error.asJSON()Error as JSON string.static ErrorInfoclientError(String message) Client error.getCode()Gets the code.Gets the message.static ErrorInfonotFoundError(String message) Not found error.static ErrorInfoserverError(String message) Server error.
-
Field Details
-
CODE_CLIENT_ERROR
-
CODE_NOT_FOUND_ERROR
-
CODE_ACCESS_ERROR
-
CODE_SERVER_ERROR
-
code
The code. -
message
The message.
-
-
Constructor Details
-
ErrorInfo
-
ErrorInfo
-
-
Method Details
-
clientError
-
notFoundError
-
accessError
-
serverError
-
getCode
-
getMessage
-
asJSON
-