1
I have a Try.. catch and catch the fellow who did let only throw.
catch(){throw;}
Well, my intention is to treat all that exceptions
and not just let throw
. But since I just got here at the company, I’ve already arrived and have to solve problems and encode new features. Turns out, I discovered today that in the production environment simply leave the throw
as it is, it kicks off the system with different unexpected behaviors. Well, the answer is to treat the throw
. What I would like to know what happens to the throw
in order to give this type of error in certain environment and others do not. The production environment our user accesses via portal, because they are in several places(states) of the country. In the Desenv or Homol environment, the mounted system access url is very simple, like: localhost:porta/Default.aspx
, in homol we have something like: brcohmlg:porta/Default.aspx
, now in production no. A url
mounted is quite complex, much bigger than this and I don’t know if this has anything to do.
I’ve been talking about this for a while here. Many people do not understand that exceptions are complicated, you can not use them without completely mastering the subject. http://answall.com/a/30168/101. In this case use a
throw
alone doesn’t make any sense. And this shows that the programmer didn’t know what he was doing. The problem is probably not even in this part. As you do not know the system well it will not be easy to find everywhere where cause problem. If you need more specific help, you will have to give a lot more details. And I don’t even know if it would fit here everything that is needed.– Maniero