In a C# ASP .NET application I have a web service that receives a DataSet, processes it, and returns it.
Can I make assert throw an exception that I choose instead of AssertionError? UPDATE: I\'ll explain my motivation: Up to now, I\'ve had assertion-style tests that raised my own exceptions; For examp
Hi I am having getting an exception when trying to initialize ActiveRecord and I cannot figure out what I am missing. I am trying to convince the company I work for to use Castle ActiveRecord and it w
My app makes an outbound connection to a server using a specific source port (in anticipation of firewall problems - a hardened system will p开发者_StackOverflowrobably require ports to be specified a
In a winforms app, in a form\'s Load event, add the following line: throw new Exception(); and run the application. It ran without a problem. This is called a silent failure, you can try to add mes
When I design a class I often have trouble deciding if I should throw an exception or have 2 func with the 2nd returning an err value. In the case of 2 functions how should I name the exception and no
Actually, I do understand major pros and cons of using exceptions. And I use them in my projects by default as error-handling strategy.
My application uses a WPF DataGrid. One of the columns is a template column that contains a ComboBox bound to an ObservableCollection of the entity which feeds the row. When I add a value to the Obser
I have a web app, whose UI is written in GWT, where for various reasons I need to resize the active window when the server reports things.
I have a PHP app \"index.php\" that, for various reasons, needs to run other PHP scripts by using include_once on that other script.That other script isn\'t very stable, so is there some way to do a s