Click here to Skip to main content
15,891,136 members
Home / Discussions / C#
   

C#

 
AnswerRe: Is it possible to write such a methode? Pin
Eduard Keilholz20-Aug-07 4:18
Eduard Keilholz20-Aug-07 4:18 
AnswerRe: Is it possible to write such a methode? Pin
Rudolf Jan21-Aug-07 0:52
Rudolf Jan21-Aug-07 0:52 
QuestionListBox reordering.. Pin
Dio2220-Aug-07 3:23
Dio2220-Aug-07 3:23 
AnswerRe: ListBox reordering.. Pin
Luc Pattyn20-Aug-07 3:43
sitebuilderLuc Pattyn20-Aug-07 3:43 
GeneralRe: ListBox reordering.. Pin
Dio2220-Aug-07 4:06
Dio2220-Aug-07 4:06 
QuestionException handling..???? Pin
Ron.S20-Aug-07 2:57
Ron.S20-Aug-07 2:57 
AnswerRe: Exception handling..???? Pin
originSH20-Aug-07 3:00
originSH20-Aug-07 3:00 
GeneralRe: Exception handling..???? Pin
Scott Dorman20-Aug-07 4:14
professionalScott Dorman20-Aug-07 4:14 
originSH wrote:
catch(dividebyzeroexception ex)
{
messagebox.show(ex.message.tostring());
throw ex;
}


You actually want to just do a throw here rather than throw ex. The throw ex causes the original stack trace information to be lost while throw preserves it.


Scott.

—In just two days, tomorrow will be yesterday.

[Forum Guidelines] [Articles] [Blog]

GeneralRe: Exception handling..???? Pin
originSH20-Aug-07 4:51
originSH20-Aug-07 4:51 
GeneralRe: Exception handling..???? Pin
Scott Dorman20-Aug-07 5:40
professionalScott Dorman20-Aug-07 5:40 
AnswerRe: Exception handling..???? Pin
Talal Sultan20-Aug-07 3:02
Talal Sultan20-Aug-07 3:02 
AnswerRe: Exception handling..???? Pin
Eduard Keilholz20-Aug-07 3:06
Eduard Keilholz20-Aug-07 3:06 
AnswerRe: Exception handling..???? Pin
Rudolf Jan21-Aug-07 0:55
Rudolf Jan21-Aug-07 0:55 
QuestionIMPORT AN EXEL FILE in windows application Pin
nish8520-Aug-07 2:55
nish8520-Aug-07 2:55 
GeneralRe: IMPORT AN EXEL FILE in windows application Pin
Eduard Keilholz20-Aug-07 3:02
Eduard Keilholz20-Aug-07 3:02 
AnswerRe: IMPORT AN EXEL FILE in windows application Pin
Justin Perez20-Aug-07 3:14
Justin Perez20-Aug-07 3:14 
AnswerRe: IMPORT AN EXEL FILE in windows application Pin
Luc Pattyn20-Aug-07 3:46
sitebuilderLuc Pattyn20-Aug-07 3:46 
Question[Message Deleted] Pin
nish8520-Aug-07 1:48
nish8520-Aug-07 1:48 
AnswerRe: Import an Exel file Pin
Talal Sultan20-Aug-07 1:54
Talal Sultan20-Aug-07 1:54 
AnswerRe: Import an Exel file Pin
Giorgi Dalakishvili20-Aug-07 2:04
mentorGiorgi Dalakishvili20-Aug-07 2:04 
GeneralRe: Import an Exel file Pin
nish8520-Aug-07 2:58
nish8520-Aug-07 2:58 
GeneralRe: Import an Exel file Pin
Justin Perez20-Aug-07 3:27
Justin Perez20-Aug-07 3:27 
AnswerRe: Import an Exel file Pin
Talal Sultan20-Aug-07 1:53
Talal Sultan20-Aug-07 1:53 
QuestionPlease help in XmlTextReader..............URGENT!!!!! Pin
hemendravyas20-Aug-07 1:31
hemendravyas20-Aug-07 1:31 
AnswerRe: Please help in XmlTextReader..............URGENT!!!!! Pin
Luc Pattyn20-Aug-07 1:55
sitebuilderLuc Pattyn20-Aug-07 1:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.