public static void Show(this Exception ex, string title, Priority priority) { var CE = new CustomException(priority, title, ex); CE.Show(); }