private void addAttachmentVideo(Uri videoUri) {
   try {
     attachmentManager.setVideo(videoUri);
   } catch (IOException e) {
     attachmentManager.clear();
     Toast.makeText(
             this,
             R.string.ConversationActivity_sorry_there_was_an_error_setting_your_attachment,
             Toast.LENGTH_LONG)
         .show();
     Log.w("ComposeMessageActivity", e);
   } catch (MediaTooLargeException e) {
     attachmentManager.clear();
     Toast.makeText(
             this,
             R.string
                 .ConversationActivity_sorry_the_selected_video_exceeds_message_size_restrictions,
             Toast.LENGTH_LONG)
         .show();
     Log.w("ComposeMessageActivity", e);
   }
 }