Forum

Number Of Page View:100,000+/Months
LOGIN |New User

Reply

Defining Exceptions
Here our working the bassically  a develope the java code and the flow of our prog.and also exception in functonal java code.its mainly the alerts the normal programe flow.Exception in its inheritance hierarchy. In other words, exceptions are always some subclass of java.lang.Exception.
try {
// some code here
}
catch (ArrayIndexOutOfBoundsException e) {
e.printStackTrace();
}
             In this example, e is an instance of a class with the tersely named array Index Out Of Bounds Exception. As with any other object, We can call its methods.
Posted By: Name:Rajesh Kr URL: Defining Exceptions