public static object LoadBillReport(string reporttype) { BillType type; int session, number; ParseBill2(out session, out type, out number); if (reporttype != "cbo" && reporttype != "cbo_summary" && reporttype != "ombsap" && reporttype != "ombsap_summary") { throw new UserException("An invalid report type was specified in the URL."); } try { return(Bills.LoadBillReport(session, type, number, reporttype)); } catch (Exception e) { return(""); } }