WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You

WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You


You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

aquanetta


Banned Member
Banned Member
Java Training | Java Exceptions | Java Exception Types

Java Exceptions:

 A Java exception is an object that describes an error condition occurred in the code.

 When an exception occurs, an object representing that exception is created and thrown in the method that caused the exception.

 That method may choose to handle the exception itself, or pass it on.

 At some point, the exception is caught and processed.

Exception Types:

 All exception types are subclasses of class Throwable.

 The two subclasses of Throwable are Error and Exception.

 There are two types of exceptions in class Exception:

1. Checked exceptions – When you call a method that throws a checked exception, you must tell the compiler what you are going to do about the exception if it is ever thrown.

2. Unchecked exceptions – The compiler does not require you to keep track of unchecked exceptions.

 A subclass of Exception is RuntimeException.

 Exceptions belonging to the subclasses of RuntimeException are unchecked expections.

 All other subclasses of the class Exception are checked.

 Exceptions of the type Error are caused by Java run-time environment

 OutofMemoryError is an example of type Error.

 Checked exceptions are due to external circumstances that the programmer cannot prevent. The compiler checks that your program handles these exceptions.

 Unchecked exceptions are programmers’ fault.

Matti

Matti
Registered Member
Registered Member
I don't understand what is this for Sad

http://csshelp.forumotion.net/

aquanetta


Banned Member
Banned Member
poda dai

Bla125


Registered Member
Registered Member
Is this Java or JavaScript?

Matti

Matti
Registered Member
Registered Member
I think this is a spam... Wink

http://csshelp.forumotion.net/

Bla125


Registered Member
Registered Member
Haha I think so too Surprised

RockerMan

RockerMan
Technician
Technician
Topic Locked & Member Banned

http://www.graphics-post.com/

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum