Skip to content

Commit

Permalink
Version 1.5.4
Browse files Browse the repository at this point in the history
Fixed issue #63
  • Loading branch information
daviunic committed Aug 24, 2019
1 parent f76f58a commit 67057e0
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions 86BoxManager/frmMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -925,12 +925,17 @@ private void VMRemove()
}
catch (UnauthorizedAccessException) //Files are read-only or protected by privileges
{
MessageBox.Show("86Box Manager was unable to delete the files of this virtual machine, because they are set as read-only or you don't have sufficient privileges to delete them.\n\nMake sure the files are free for deletion, then remove them manually.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
MessageBox.Show("86Box Manager was unable to delete the files of this virtual machine because they are read-only or you don't have sufficient privileges to delete them.\n\nMake sure the files are free for deletion, then remove them manually.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
return;
}
catch (DirectoryNotFoundException) //Directory not found
{
MessageBox.Show("86Box Manager was unable to delete the files of this virtual machine because they no longer exist.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
return;
}
catch (IOException) //Files are in use by another process
{
MessageBox.Show("86Box Manager was unable to delete the files of this virtual machine, because they are currently in use by another process.\n\nMake sure the files are free for deletion, then remove them manually.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
MessageBox.Show("86Box Manager was unable to delete some files of this virtual machine because they are currently in use by another process.\n\nMake sure the files are free for deletion, then remove them manually.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
return;
}
catch (Exception ex) { //Other exceptions
Expand Down

0 comments on commit 67057e0

Please sign in to comment.