|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.vodafone360.people.datatypes.BaseDataType com.vodafone360.people.datatypes.ServerError
public class ServerError
BaseDataType representing an error returned from Server
Nested Class Summary | |
---|---|
static class |
ServerError.ErrorTypes
Enumeration of Server error types. |
Field Summary | |
---|---|
java.lang.String |
errorType
|
java.lang.String |
errorValue
|
static java.lang.String |
NAME
|
Constructor Summary | |
---|---|
ServerError()
|
Method Summary | |
---|---|
ServerError.ErrorTypes |
getType()
Get current Error type |
java.lang.String |
name()
Return name of the current Data-type. |
ServiceStatus |
toServiceStatus()
Convert current error to ServiceStatus type. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String NAME
public java.lang.String errorType
public java.lang.String errorValue
Constructor Detail |
---|
public ServerError()
Method Detail |
---|
public java.lang.String name()
name
in class BaseDataType
public ServerError.ErrorTypes getType()
public java.lang.String toString()
toString
in class java.lang.Object
public ServiceStatus toServiceStatus()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
JavaDoc