D
darrel
I have a function that calls a class that writes a dataset that I've passed
to it out as an excel spreadheet and returns it to the browser:
my function
try
makeExcelFile(mydataset)
catch
response write the exceptions
end try
end function
This works. However, at the very bottom of my excel spreadsheet that gets
generated, it prints out the CATCH response write from my function:
Thread was being aborted.
mscorlib
From a bit of googling, I can't quite tell if that's an error, or just a
normal response and that I probably should just check for that specific
response and not bother writing it out.
I'm also a bit confused as to why it's writing the error the spreadsheet.
Should the spreadsheet be written, that function returns the exception, then
my function catch it and, in turn, write the exception back to the screen?
-Darrel
to it out as an excel spreadheet and returns it to the browser:
my function
try
makeExcelFile(mydataset)
catch
response write the exceptions
end try
end function
This works. However, at the very bottom of my excel spreadsheet that gets
generated, it prints out the CATCH response write from my function:
Thread was being aborted.
mscorlib
From a bit of googling, I can't quite tell if that's an error, or just a
normal response and that I probably should just check for that specific
response and not bother writing it out.
I'm also a bit confused as to why it's writing the error the spreadsheet.
Should the spreadsheet be written, that function returns the exception, then
my function catch it and, in turn, write the exception back to the screen?
-Darrel