Ask Questions & Get Answers at ibibo sawaal
     Powered by Bixee Crawl
Results 1 - 15 of about 4590 sawaal for "catches"
Sort by: Recency | Relevancy

Does the System.Exception class have any cool features?

, an exception is handled by the application or by the default exception handler.Try-Catch BlocksThe common language runtime provides an exception handling model that is based on the representation of exceptions as objects, and the separation of program code and exception handling code into try blocks and catch blocks, respectively. There can be one or more catch blocks, each designed to handle a particular type

Posted in Computers & Technology by Nidhi Singh at 2:24 PM on August 13, 2008

What is the difference between catch exception e catch error err and catch throwable t?

Java Almanac has a good summary.See http://javaalmanac.com/egs/Java20L anguage/CatchThrowable.html?l=new "All errors and exceptions extend from Throwable. By catching Throwable, it is possible to handle all unexpected conditions.There are several scenarios where it is good practice to catch Throwable. For example, in a server application, the threads that handle requests should catch Throwable

Posted in Computers & Technology by keshav at 3:30 AM on November 12, 2008

What is the difference between catch exception e catch error err and catch throwable ?

Java Almanac has a good summary.See http://javaalmanac.com/egs/Jav a20Language/CatchThrowable.ht ml?l=new"All errors and exceptions extend from Throwable. By catching Throwable, it is possible to handle all unexpected conditions.There are several scenarios where it is good practice to catch Throwable. For example, in a server application, the threads that handle requests should catch Throwable

Posted in Computers & Technology by Koena Mitra at 10:45 PM on November 02, 2008

What is the difference between catch exception e catch error err and catch throwable t?

Java Almanac has a good summary. See http://javaalmanac.com/egs/Jav a20Language/CatchThrowable.ht ml?l=new All errors and exceptions extend from Throwable. By catching Throwable, it is possible to handle all unexpected conditions. There are several scenarios where it is good practice to catch Throwable. For example, in a server application, the threads that handle requests should catch Throwable

Posted in Computers & Technology by shiv awasthi at 2:27 PM on October 14, 2008

What is the difference between catch exception e catch error err and catch throwable t?

are handled for you....Java Almanac has a good summary. See http://javaalmanac.com/egs/Java20L anguage/CatchThrowable.html?l=new "All errors and exceptions extend from Throwable. By catching Throwable, it is possible to handle all unexpected conditions. There are several scenarios where it is good practice to catch Throwable. For example, in a server application, the threads that handle requests should catch

Posted in Computers & Technology by Sidd at 7:02 AM on January 13, 2008
Tags bca

pls send any five RUN TIME exceptions in java with definition and for what purpose they are used?

conditions in a program systematically by taking the necessary action. Exception handlers can be written to catch a specific exception such as Number Format exception, or an entire group of exceptions by using of which are subclasses of the Throwable class. Java exceptions are raised with the throw keyword and handled within a catch block.A Program Showing How the JVM throws an Exception at runtimepublic class

Posted in Computers & Technology by SUNIL . at 1:45 PM on September 26, 2008

Does the System.Exception class have any cool features?

CApp public static void Main try f; catch Exception e Console.WriteLine "System.Exception stack trace = n0", e.StackTrace ; static void f throw new Exception "f went pear from. For example, the following code: using System; class CApp public static void Main try f; catch Exception e Console.WriteLine "System.Exception stack trace = n0", e

Posted in Computers & Technology by Radhe Radhe at 8:02 PM on May 30, 2008

what is mean by exception handling?

Handling. Many modern programming language use Exception blocks to handle any exceptionerror eg. TRY .. Catch .. Finally Block.The first step in constructing an exception handler is to enclose the code that might throw an exception within a try block. You associate exception handlers with a try block by providing one or more catch blocks directly after the try block. No code can be between the end of the try

Posted in Computers & Technology by DINESH KUMAR at 3:35 PM on May 01, 2008

What types of object can I throw as exceptions?

for that exception type appears earlier in the list of exception handlers.For example:try my result = self->dividevalue, 0; divide throws DivideByZeroExceptionreturn result;catch MathException with my ex = shift.Exception classes, or classes derived from System.Exception. This is in sharp contrast with C where instances of almost any type can be thrown....well, Most programs throw and catch objects that derive from

Posted in Computers & Technology by Radhe Radhe at 8:01 PM on May 30, 2008

How does exception handling work in Java?

.e., the classs ".class" file cannot be found or was removed from the CLASSPATH...1.It separates the working/functional code from the error-handling code by way of try-catch clauses.2.It allows a clean of these exceptions by either catching or declaring them in its throws clause. Thus, making an exception checked forces the us to pay heed to the possibility of it being thrown. An example of a checked exception

Posted in Computers & Technology by rocky singh at 3:08 AM on June 26, 2008

Can we write return statement in try catch or finally block. suposse we write return 0 in try catch or finally. can we do. ?

Yes,We can write the return statement in try catch & finally. The only thing is that even if we write return statement in try bloack or catch block the finally block will always get executed.The only case in which finally block does not execute is when we write system.exit0 in either try or catch.

Posted in Computers & Accessories by L Prasad at 12:42 PM on February 03, 2009

If air contains flamable material then it helps material to catch fire but if air does not contain flamable material then still you think air can catch fire?

Fire needs three things to start1 Fuel flammable material2. Oxygen3. TempratureIf any things is missing it wont start

Posted in Miscellaneous by ashwani kuma at 7:18 AM on December 10, 2008

If while catching the catch a fielder touches the boundary rope will it be a four or six?

Suresh,If the ball is in the hands of fielder and he has completed the catch but touched the rope then it is a six and if it has touched the ground first and then touched the ropes it is a four or cross it after taking a catch then they should throw the ball in and save the runs....Hi Suresh,While catching the ball if a fielder touches the boundary rope it will be a six. A catch means a fielder

Posted in Cricket & Other Sports by suresh at 5:19 PM on November 03, 2008

A fielder misses a catch through his hands but as he is going to ground the ball becomes lodged between his thighs. He then stands up, claims the catch by showing it is lodged between his thighs and then lets it drop to the ground. Whats the decision?

.The rules of catching are simple to catch the ball with hands before the ball hits the ground after hitting the batsmans bat. In the case you have mentioned where the fielder is catching the ball in his thighs is not a catching part as he needs to collect the ball in his hands.If after landing in between his thighs he had got hold of the ball in his hands then it would have been considered as out

Posted in Cricket & Other Sports by Abinash Ray at 2:02 AM on October 22, 2008

A fielder misses a catch through his hands but as he is going to ground the ball becomes lodged between his thighs. He then stands up, claims the catch by showing it is lodged between his thighs and then lets it drop to the ground. Whats the decision?

the control over the ball,the decision will be notout only. Hence in this case i think the Batsman can be given NOTOUT....A catch is completed if the player cathching the ball has has complete control on the ball when the catch is claimed. If the ball is stuck in his thighs or any other part for that matter it is considered that the fielder does not have complete control over the ball and hence the batsman

Posted in Cricket & Other Sports by Abinash Ray at 1:00 PM on October 10, 2008
Refine By Date
sawaal signature
sawaal free visiting card