throw new ServiceException("No valid response from server.");
} else if( responseType.startsWith(ResponseType.BADAUTH.toString())
|| responseType.startsWith(ResponseType.BADUSER.toString()) ) {
throw new AuthenticationException("The submitted credentials are not valid");
} else if( responseType.startsWith(ResponseType.FAILED.toString()) ) {
throw new ServiceException(responseType.substring(7));