Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
catch
- Page 1
Re: SEO vs AEO – Which is more important for the future of search?
Digital Media
Digital Marketing
Search Engine Strategies
3 Days Ago
by Dani
… these content-based websites, DaniWeb included, we're in a
Catch
-22 because we still want to rank by search engines…
Re: Contact form does not working
Programming
Web Development
2 Months Ago
by Biiim
…enables exceptions. */ $mail = new PHPMailer(TRUE); /* Open the try/
catch
block. */ try { /* Set the mail sender. */ $mail->… message'; /* Finally send the mail. */ $mail->send(); }
catch
(Exception $e) { /* PHPMailer exception. */ echo $e->errorMessage(); …
Re: catch Media Player Error
Programming
Software Development
15 Years Ago
by Teme64
Catch
the media player error [CODE=VB.NET]' Try to play … As Object, ByVal e As System.EventArgs) Handles AxWindowsMediaPlayer1.ErrorEvent '
Catch
player errors Dim oErrorItem As WMPLib.IWMPErrorItem If CType(sender…
catch without try
Programming
Software Development
15 Years Ago
by nonshatter
…); try { aSocket.setSoTimeout(4000); aSocket.receive(reply); }
catch
( SocketTimeoutException e ) { faultCount++; continue; }
catch
( IOException e ){} break;
catch
( IOException e ) {} //----it doesn't like…
catch CTRL C
Programming
Software Development
13 Years Ago
by mehnihma
… Exception Occurred ..."); }
catch
(InputMismatchException e) { System.… Exception Occured ..."); } /*
catch
(InterruptedException e) { e.printStackTrace();…
Re: catch CTRL C
Programming
Software Development
13 Years Ago
by DavidKroukamp
….printStackTrace(); System.out.println("Input Mismatch Exception Occured ..."); } */
catch
(InterruptedException e) { // Restore the interrupted status Thread.currentThread().interrupt(); } } }[/CODE…
Re: catch without try
Programming
Software Development
15 Years Ago
by JamesCherrill
The "break" on line 16 is outside any
catch
, so it terminates the list of catches associated with the previous try. So the
catch
on line 18 hasn't got a try to match to.
Re: catch without try
Programming
Software Development
15 Years Ago
by Cronless
In addition to the "break" comment above, which is dead-on, you also can't
catch
the same exception twice in a try clause...you're catching IOException a second time after the break.
Re: catch CTRL C
Programming
Software Development
13 Years Ago
by mehnihma
I got it, when I tryed it on PC, i was working on mac [CODE]
catch
(NoSuchElementException e) { System.out.println("CTRL C Program stops"); } [/CODE]
Re: 'catch' without 'try'
Programming
Software Development
14 Years Ago
by kunalboy
…1st try.. it is called as the Unreachable code problem.
catch
(Exception e) is a method of the exception class … all exceptions. so this method shold come as last
catch
.... if it comes b4 other catches other catches will …be ignored as
catch
(Exception e) statement handles all exceptions... so you get…
'catch' without 'try'
Programming
Software Development
17 Years Ago
by mimsc
…} else { pageError = true; } }
catch
(Exception e){ request.setAttribute("pageError","…domainName); userData = UserInfoDAO.getUserInfo(domainName); }
catch
(Exception e) { System.out.println(e.getMessage…
catch without try error
Programming
Web Development
17 Years Ago
by mimsc
…} else { pageError = true; } }
catch
(Exception e){ request.setAttribute("pageError","…domainName); userData = UserInfoDAO.getUserInfo(domainName); }
catch
(Exception e) { System.out.println(e.getMessage…
Catch CrLf Characters
Programming
Software Development
14 Years Ago
by gspeedtech
… been affected. The question is: Should I add code to
catch
the CrLf characters at the field level? Should I add… code to
catch
and possibly correct the data before it is uploaded to… SQL? Should I modify the upload to
catch
CrLf characters and possibly correct the data in the upload…
Re: Catch dropped streamreader conn.
Programming
Software Development
15 Years Ago
by sknake
…it or not you do not want to
catch
the exception in this method. Here is the…Stream>)result.AsyncDelegate; try { action.EndInvoke(ar); }
catch
(Exception Ex) //The stream read error is handled here from…]BeginRead[/icode] will be handled in the [icode]
catch
(Exception Ex)[/icode] of [icode]EndRead()[/icode]. It…
Re: 'catch' without 'try'
Programming
Software Development
17 Years Ago
by mimsc
my bad...Im getting a "
catch
without try"..and all my brackets seem to be lined up...im thinking its somewhere between lines 163-185..not sure whats wrong though...I'll try posting in the other spot...sorry bout that
Re: 'catch' without 'try'
Programming
Software Development
17 Years Ago
by Hamrick
… point it out? Lines 163-185 don't contain a
catch
at all. This is a syntax error so it should…
Re: 'catch' without 'try'
Programming
Software Development
17 Years Ago
by mimsc
unfortunately this is what I get: org.apache.jasper.JasperException: PWC6033: Unable to compile class for JSP PWC6199: Generated servlet error: string:///cp_002dfrontpage_jsp.java:300: '
catch
' without 'try'
Re: 'catch' without 'try'
Programming
Software Development
17 Years Ago
by Hamrick
It says line 300. That's probably right where the offending
catch
is and you can look back up to find the matching try. I'd help, but I don't have a way of matching the error's line 300 to the line numbers in the code you posted.
Catch dropped streamreader conn.
Programming
Software Development
15 Years Ago
by benkyma
… stops and this makes my program crash. How can I
catch
this situation when it occurs, and maybe attempt to reconnect… 'while' loop and I'm not sure how I can
catch
it...
Re: catch C++ DLL exception
Programming
Software Development
15 Years Ago
by carey_amanda
…1, 1, 0); // C++ call, i did DLLimport. }
catch
(System.Runtime.CompilerServices.RuntimeWrappedExceptionex) { MessageBox.Show(ex.Message); } Messagebox….OK,MessageBoxIcon.Information); }[/CODE] The
catch
is not able to
catch
the exception. So when is it …
Re: Catch CrLf Characters
Programming
Software Development
14 Years Ago
by codeorder
… a line break, like vbNewLine. See if this helps to
catch
the CrLf. [CODE] Dim sTemp As String = "some"…
Re: Catch CrLf Characters
Programming
Software Development
14 Years Ago
by gspeedtech
Thanks codeorder! I tried your suggestion, but for some reason it does not
catch
the Crlf.
Re: catch Media Player Error
Programming
Software Development
15 Years Ago
by Teme64
… My.Resources.BlogImage.Save(m_TempImageFileName, System.Drawing.Imaging.ImageFormat.Jpeg)
Catch
ex As Exception ' Handle I/O error(s) End Try… As Object, ByVal e As System.EventArgs) Handles AxWindowsMediaPlayer1.ErrorEvent '
Catch
player errors Dim oErrorItem As WMPLib.IWMPErrorItem If CType(sender…
Re: Catch dropped streamreader conn.
Programming
Software Development
15 Years Ago
by sknake
…>)result.AsyncDelegate; bool hadError = false; try { action.EndInvoke(ar); }
catch
(Exception Ex) //The stream read error is handled here from…
Re: catch C++ DLL exception
Programming
Software Development
15 Years Ago
by sknake
…:RuntimeCompatibilityAttribute(WrapNonExceptionThrows = true)] [/code] Then to
catch
the exception: [code] private void button3_Click(object …sender, EventArgs e) { try { //c++ call }
catch
(System.Runtime.CompilerServices.RuntimeWrappedException ex) { MessageBox.Show(ex.Message);…
Re: catch C++ DLL exception
Programming
Software Development
15 Years Ago
by carey_amanda
im sorry but it is sill unable to
catch
the C++ exception despite the given solution. [CODE…;, 1, 1, 0); // C++ call, i did DLLimport. }
catch
(System.Runtime.CompilerServices.RuntimeWrappedExceptionex) { MessageBox.Show(ex.Message); } }[/CODE]…
catch and throw
Programming
Software Development
18 Years Ago
by Monyet
I don't understand this part... can anyone please explain it to me easier? how does this thing work? [code=C#] try { }
catch
(ArgumentException) { } [/code] thank you :(
Catch events of a datalist in a repeater
Programming
Web Development
17 Years Ago
by serkan sendur
how do i
catch
events of a datalist in a repeater? I need to use datalist's ItemDataBound event but i cant use it because it is inside a repeater control. Thanks in advance
Catch All Activation
Hardware and Software
Microsoft Windows
17 Years Ago
by smile4it
I have been trying to activate
catch
all in my exchange server, but unsuccesful. Can someone suggest an useful link or method.Cheers
Catch Errors
Programming
Web Development
15 Years Ago
by Potato.Head
… javascript errors, I was wandering if there is way to
catch
all the errors they come from the iframe? 2. I…
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC