Class SignUpValidationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.smartfoxserver.v2.components.signup.SignUpValidationException
-
- All Implemented Interfaces:
java.io.Serializable
public class SignUpValidationException extends java.lang.Exception
Signal a validation error during the SignUp process- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SignUpValidationException(SignUpErrorCodes code, java.lang.Object... params)
Provide a description of the error.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SignUpErrorCodes
getCode()
Obtain the error codejava.lang.Object[]
getParams()
Obtain the error message parameters
-
-
-
Constructor Detail
-
SignUpValidationException
public SignUpValidationException(SignUpErrorCodes code, java.lang.Object... params)
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 Detail
-
getCode
public SignUpErrorCodes getCode()
Obtain the error code- Returns:
- the error code
-
getParams
public java.lang.Object[] getParams()
Obtain the error message parameters- Returns:
- the array of parameters
-
-