CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2007
    Posts
    40

    Java applets and exceptions

    I would like to check if a string consists only of integer characters (i.e. is a number) or if it's a word. I can use Integer.parseInt(mystring);, but the only thing I found about this is that I have to do the try-catch construction, which, unfortunately, at least in the Eclipse dev platform is errored out as some "init function has to be at the start" or something message.... any ideas?

    thanks!

  2. #2

    Re: Java applets and exceptions

    This is a duplicate of this thread: http://www.codeguru.com/forum/showthread.php?t=462271

    I have put a reply in the first thread you created, I do not know if it is what you are looking for though.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured