public class SignUpValidationException
extends java.lang.Exception
| Constructor and Description |
|---|
SignUpValidationException(SignUpErrorCodes code,
java.lang.Object... params)
Provide a description of the error.
|
| Modifier and Type | Method and Description |
|---|---|
SignUpErrorCodes |
getCode()
Obtain the error code
|
java.lang.Object[] |
getParams()
Obtain the error message parameters
|
public SignUpValidationException(SignUpErrorCodes code, java.lang.Object... params)
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 nullpublic SignUpErrorCodes getCode()
public java.lang.Object[] getParams()