Class SignUpValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.smartfoxserver.components.signup.SignUpValidationException
- All Implemented Interfaces:
Serializable
Signal a validation error during the SignUp process
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSignUpValidationException(SignUpErrorCodes code, Object... params) Provide a description of the error. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SignUpValidationException
Provide a description of the error.- Parameters:
code- an error codeparams- a variable amount of parameters depending on the error code message. If no parameters are available for this error message, simply pass null
-
-
Method Details
-
getCode
Obtain the error code- Returns:
- the error code
-
getParams
Obtain the error message parameters- Returns:
- the array of parameters
-