Go Back   CodingForums.com > :: Server side development > Java and JSP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-05-2003, 07:13 PM   PM User | #1
JavaTest?
New Coder

 
Join Date: Jan 2003
Location: USA
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
JavaTest? is an unknown quantity at this point
Unhappy Suppressing Java Errors

Is there a way to suppress java errors in Internet Explorer?
JavaTest? is offline   Reply With Quote
Old 02-05-2003, 08:39 PM   PM User | #2
arnyinc
Regular Coder

 
Join Date: Jan 2003
Posts: 867
Thanks: 4
Thanked 8 Times in 8 Posts
arnyinc is an unknown quantity at this point
Fix them.

In other words, not that I know of.
arnyinc is offline   Reply With Quote
Old 02-06-2003, 11:32 AM   PM User | #3
bcarl314
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
bcarl314 will become famous soon enough
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
}

Last edited by bcarl314; 02-06-2003 at 11:36 AM..
bcarl314 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:28 PM.


Advertisement
Log in to turn off these ads.