Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jan 2003
    Location
    USA
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy Suppressing Java Errors

    Is there a way to suppress java errors in Internet Explorer?

  • #2
    Regular Coder
    Join Date
    Jan 2003
    Posts
    867
    Thanks
    4
    Thanked 8 Times in 8 Posts
    Fix them.

    In other words, not that I know of.

  • #3
    Mega-ultimate member
    Join Date
    Jun 2002
    Location
    Winona, MN - The land of 10,000 lakes
    Posts
    1,855
    Thanks
    1
    Thanked 45 Times in 42 Posts
    Yes, you can catch them or throw them. But if you code doesn't compile, you'll have to do what arnyinc says and just fix em.

    to catch, use a try catch block
    public class myClass () {
    try {
    //stuff to try
    }
    catch {
    // stuff to catch
    }
    }

    to throw an error,

    public class myClass() throws IOException {
    //do stuff here
    }


  •  

    Posting Permissions

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