public class SMSActivateBaseException extends Exception
| Constructor and Description |
|---|
SMSActivateBaseException(@NotNull SMSActivateBaseTypeError error) |
SMSActivateBaseException(@NotNull String englishMessage,
@NotNull String russianMessage)
Constructor base sms activate exception with multi-lang.
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull String |
getEnglishMessage()
Returns the message on english language.
|
@NotNull String |
getMessage()
Returns the concatenation messages.
|
@NotNull String |
getRussianMessage()
Returns the message on russian language.
|
@NotNull SMSActivateBaseTypeError |
getTypeError()
Returns the type error response from server.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic SMSActivateBaseException(@NotNull
@NotNull String englishMessage,
@NotNull
@NotNull String russianMessage)
englishMessage - message on english language.russianMessage - message on russian language.public SMSActivateBaseException(@NotNull
@NotNull SMSActivateBaseTypeError error)
@NotNull public @NotNull String getEnglishMessage()
@NotNull public @NotNull String getRussianMessage()
@NotNull public @NotNull SMSActivateBaseTypeError getTypeError()
@NotNull public @NotNull String getMessage()
getMessage in class ThrowableCopyright © 2020. All rights reserved.