Class SignUpValidationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.smartfoxserver.components.signup.SignUpValidationException
All Implemented Interfaces:
Serializable

public class SignUpValidationException extends Exception
Signal a validation error during the SignUp process
See Also:
  • Constructor Details

    • SignUpValidationException

      public SignUpValidationException(SignUpErrorCodes code, Object... params)
      Provide a description of the error.
      Parameters:
      code - an error code
      params - 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

      public SignUpErrorCodes getCode()
      Obtain the error code
      Returns:
      the error code
    • getParams

      public Object[] getParams()
      Obtain the error message parameters
      Returns:
      the array of parameters