Code example for SocketTimeoutException

Methods: printStackTrace

0
						ErrorType.INTERNAL_SERVER_APPLICATION_ERROR,
						"Invalid service URL."); 
 
			} catch (SocketTimeoutException exception) {
				// timeout. 
				exception.printStackTrace();
				sendErrorMessageToHanlder( 
						mCommunicationOperation.getOperationId(),
						ErrorType.NO_CONNECTIVITY, "Timeout.");
 
			} catch (IOException exception) {
				// File cannot be accessed or is corrupted.. 
				exception.printStackTrace();
				Logger.e(TAG, "No Internet Connection");
//				sendErrorMessageToHanlder( 
//						mCommunicationOperation.getOperationId(), 
//						ErrorType.NO_CONNECTIVITY, "No Internet Connection."); 
 
				// Logger.e(TAG, "File cannot be accessed or is corrupted."); 
				// sendErrorMessageToHanlder(mCommunicationOperation.getOperationId(), 
				// ErrorType.NO_CONNECTIVITY,