public interface ErrorI
ErrorI
object is contained in a NotificationEventI
of NotificationType.ERROR
and carries
information relating to the error that has occurred.
Generally, ErrorI
objects are sent when an SDK interface method was invoked and was not successful. For example, if
UserI.login(java.lang.String, java.lang.String)
) was requested and failed, the ErrorI
sent would have a Command
property of
Command.Login
.
Modifier and Type | Method and Description |
---|---|
int |
getCodeNumber() |
Command |
getCommand() |
ErrorCode |
getErrorCode() |
java.lang.String |
getMessage() |
int getCodeNumber()
ErrorCode getErrorCode()
ErrorCode
representing the error which allows for localization for error messagesjava.lang.String getMessage()