Apr 21

This post is also available in: German

An error can also be thrown more than once:

class Shop {

static void test () throws Error {

throw new Error ();

}

public static void main(String args[]) {

try {

test();

}catch (Error e) {

e.printStackTrace();

throw e; // error is thrown again

}

}

}

  • Print
  • del.icio.us
  • Facebook
  • Twitter
  • Google Bookmarks
  • Add to favorites
  • RSS
  • Blogosphere
  • email
  • PDF
  • Wikio
  • Technorati
  • Digg
  • DZone

Leave a Reply

preload preload preload
http://www.wikio.de Blog Top Liste - by TopBlogs.de Blogverzeichnis - Blog Verzeichnis bloggerei.de Bloggeramt.de Software
Webbhotell Top Blogs