The Artima Developer Community
Sponsored Link

Java Answers Forum
Error handler

2 replies on 1 page. Most recent reply: Apr 7, 2003 1:24 PM by Matt Gerrans

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
winston

Posts: 1
Nickname: win
Registered: Apr, 2003

Error handler Posted: Apr 7, 2003 3:34 AM
Reply to this message Reply
Advertisement
Hello All

I want to design an error handler component which can be integrated in all applications.is it possible to do so.my requirement is :
1> Designing an independent error handler component which programmers can use in their code.
2> write user defined error messages.

Can you all let me know from where to start, is there an already existing component which I can use.

Regards
Winston


CoDeFrEaK

Posts: 9
Nickname: codefreak
Registered: Feb, 2003

Re: Error handler Posted: Apr 7, 2003 8:33 AM
Reply to this message Reply
public class MyErrorHandler
{
throws new Exception
{
System.out.println("Error");
}

}


this probably a whole lot of crap, i just need to check my text book. but its sumfin like that

Matt Gerrans

Posts: 1153
Nickname: matt
Registered: Feb, 2002

Re: Error handler Posted: Apr 7, 2003 1:24 PM
Reply to this message Reply
Wouldn't that be System.err?

Maybe you should make a Jini error collector service which any app can use for this purpose. Then you can create some other Jini services which are error consumers; these can put the error output into streams, such as System.out, System.err, files, 3-D anitmated graphical displays and so on.

Flat View: This topic has 2 replies on 1 page
Topic: Help!!!!!!!! Previous Topic   Next Topic Topic: Unable to view GUI

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use