com.techventus.server.voice.exception
Class AuthenticationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.techventus.server.voice.exception.AuthenticationException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- AccountDeletedException, AccountDisabledException, BadAuthenticationException, CaptchaRequiredException, NotVerifiedException, ServiceDisabledException, ServiceUnavailableException, TermsNotAgreedException
public class AuthenticationException
- extends java.io.IOException
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AuthenticationException
public AuthenticationException()
AuthenticationException
public AuthenticationException(ERROR_CODE errorCode)
AuthenticationException
public AuthenticationException(java.lang.Throwable cause,
ERROR_CODE errorCode)
throwProperException
public static void throwProperException(ERROR_CODE errorCode,
java.lang.String captchaToken,
java.lang.String captchaUrl)
throws AuthenticationException
- Throws:
AuthenticationException
setErrorCode
public void setErrorCode(java.lang.String errorCodeString)
setErrorCode
public void setErrorCode(ERROR_CODE errorCode)
getError
public ERROR_CODE getError()