Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
catch
- Page 1
Re: Cleaning up tags
Community Center
Meta DaniWeb
23 Hours Ago
by Dani
… to have a forum devoted to each language, and our
catch
-all forum for non-popular languages was proving not-so…
Re: This Halloween: Are You Brave Enough to Face Roko's Basilisk?
Community Center
1 Week Ago
by soly_1
Although superintelligence and God are both considered "mighty entities," the devil is in the details. A superintelligence merely needs code; unlike supernatural beings, it doesn't require faith. The proof isn't found in antiquated literature, but rather in the quick developments in AI and machine learning. Though, in my opinion, the …
Re: This Halloween: Are You Brave Enough to Face Roko's Basilisk?
Community Center
1 Week Ago
by olivia_24
It also assumes that said AI will be vindictive (like the gods). If the theory is correct, why would a sentient AI need to be vengeful once it has been created? In any case, there is still no evidence that machine consciousness it attainable. At least one engineer involved in the development of OpenAI has made claims about consciousness, but those …
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
2 Months Ago
by Biiim
…to send here $mail = new PHPMailer(TRUE); /* Open the try/
catch
block. */ try { /* Set the mail sender. */ $mail->…survey; /* Finally send the mail. */ $mail->send(); }
catch
(Exception $e) { /* PHPMailer exception. */ echo $e->errorMessage(); } ?>…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
2 Months Ago
by david.tigner
… to send here $mail = new PHPMailer(TRUE); /* Open the try/
catch
block. */ try { /* Set the mail sender. */ $mail->… = $survey; /* Finally send the mail. */ $mail->send(); }
catch
(Exception $e) { /* PHPMailer exception. */ echo "Message could not …
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
1 Month Ago
by david.tigner
…Then I added: $mail = new PHPMailer(TRUE); /* Open the try/
catch
block. */ try { /* Set the mail sender. */ $mail->…$mail->ErrorInfo; //}else{ // echo "Message sent!"; // }
catch
(Exception $e) { /* PHPMailer exception. */ echo "Message could not be…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
1 Month Ago
by Biiim
… could also try taking the PHP out of the try -
catch
block to see if that helps, I have had odd… hidden behaviour in try
catch
blocks in different languages before, something like: $mail = new PHPMailer…
Re: DomContentLoaded vs jQuery Ready fn
Programming
Web Development
2 Months Ago
by jkon
…", completed ); window.removeEventListener( "load", completed ); jQuery.ready(); } //
Catch
cases where $(document).ready() is called // after the browser event…
Re: Improve HAVING BY performance
Programming
Databases
2 Months Ago
by toneewa
…() << " seconds\n"; Sleep(1000); delete con; }
catch
(sql::SQLException& e) { std::cerr << "SQL…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
1 Month Ago
by david.tigner
… the submitted information will send successfully. But here's the
catch
. While on the left side of the email address, anything…
Re: catch Media Player Error
Programming
Software Development
14 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
14 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
12 Years Ago
by mehnihma
… Exception Occurred ..."); }
catch
(InputMismatchException e) { System.… Exception Occured ..."); } /*
catch
(InterruptedException e) { e.printStackTrace();…
Re: catch CTRL C
Programming
Software Development
12 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
14 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
14 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
12 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
13 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
16 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
16 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
13 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
14 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
16 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
16 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
16 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
16 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
14 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
14 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
13 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
13 Years Ago
by gspeedtech
Thanks codeorder! I tried your suggestion, but for some reason it does not
catch
the Crlf.
1
2
3
17
Next
Last
Search
Search
Forum Categories
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
Forums
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
© 2024 DaniWeb® LLC