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

How does exception handling work in Java?

well, An exception is an error thrown by a class or method reporting an error in operation. For example, dividing by zero is undefined in mathematics, and a calculation can fail if this winds up being the case because of an error in user input. In this particular case an ArithmeticException is thrown, and unless the programmer looks for this exception and manually puts in code to handle it

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

what is mean by exception handling?

Hi Dinesh,Before answering your question, you need to understand what is an Exception first.An exception is an event that occurs during the execution of a program that disrupts the normal flow of instructions. Or in other words, its a bug in a program that needs to be found and fixed.Finding that event exception and having found it, what you would do with that exception is normally referred as Exception

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

What types of object can I throw as exceptions?

An exception handler designed to handle a specific type of object may be pre-empted by another handler whose exception type is a superclass of that type. This happens if the exception handler 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

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

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

well, RuntimeException is the superclass of those exceptions that can be thrown during the normal operation of the Java Virtual Machine.A method is not required to declare in its throws clause any subclasses of RuntimeException that might be thrown during the execution of the method but not caught.Since: JDK1.0See Also: Serialized FormConstructor SummaryRuntimeException Constructs a new runtime

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

Does the System.Exception class have any cool features?

This class is the base class for all Exceptions.When an error occurs, either the system or the currently executing application reports it by throwing an exception containing information about the error. Once thrown, an exception is handled by the application or by the default exception handler.Yes - the feature which stands out is the StackTrace property. This provides a call stack which records

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

Does the System.Exception class have any cool features?

well,Yes - the feature which stands out is the StackTrace property. This provides a call stack which records where the exception was thrown 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.StackTrace ; static void f throw new Exception "f went pear

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

How are exceptions handled in PL/SQL? Give some of the internal exceptions name

PL/SQL exception handling is a mechanism for dealing with run-time errors encountered during procedure execution. Use of this mechanism enables execution to continue if the error is not severe enough to cause procedure termination.The exception handler must be defined within a subprogram specification. Errors cause the program to raise an exception with a transfer of control to the exception

Posted in Computers & Technology by Vinay at 12:48 AM on October 23, 2008

What types of object can I throw as exceptions?

The C language provides built-in language features to raise and handle exceptions. These language features activate a run-time mechanism used to communicate exceptions between two unrelated often separately developed portions of a C program.When an exception is encountered in a C program, the portion of the program that detects the exception can communicate that the exception has occurred by raising

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

Is there any -ve effect or disadvantage of using exception handling excessively, on our computer h/w or s/w parts? if yes than HOW??

well Nikhil,Multiple threads or exception handling further add to the complexity of manual deallocation. For example, various C newsgroups and mailing lists have carried extensive discussions about the proper way to deallocate partially constructed C objects in response to an exception. Such issues disappear in the presence of a garbage collector. However, some see checked exceptions as a nuisance

Posted in Computers & Technology by Nikhil Singh at 11:00 AM on May 09, 2008
Tags

How to disable the Windows XP Firewall completely.

includes the following tabs: General Exceptions AdvancedThe General tab includes the following settings: On recommended Dont allow exceptions Off not recommendedWhen you click to select Dont allow exceptions, Windows Firewall blocks all requests to connect to your computer, including requests from programs or services that are listed on the Exceptions tab. The firewall also blocks discovery of network

Posted in Computers & Technology by ekta mehra at 5:53 AM on June 27, 2008

What are Checked and UnChecked Exception?

A checked exception is any subclass of Exception or Exception itself, excluding class RuntimeException and its subclasses. Making an exception checked forces client programmers to deal with the possibility that the exception will be thrown. eg, IOException thrown by java.io.FileInputStreams read method Unchecked exceptions are RuntimeException and any of its subclasses. Class Error and its subclasses

Posted in Computers & Technology by rachna nigam at 5:04 AM on October 25, 2008

Is there a way to get the original exception object from inside a nested or wrapped Exception for example an EJBException or RemoteException?

Container services are totally depends upon the "vendorimplementation". But more or less most of the vendors suppots the basic services like,LifeCycle Management - It is Automatic...Session Management - it is used by Developer coded callback methods...Transaction Management - it is used by

Posted in Computers & Accessories by Raj Pal at 1:23 PM on February 01, 2009

What are Exceptions in OOP?

Exception handling is a programming language construct or computer hardware mechanism designed to handle the occurrence of some condition that changes the normal flow of execution. The condition is called an exception. Exceptions are normally recommended to be used only for signaling error (exceptional) conditions. For signaling conditions that are part of the normal flow of execution see

Posted in Computers & Technology by oops at 9:57 AM on November 01, 2007

What are Exceptions in OOP?

Exception handling is a programming language construct or computer hardware mechanism designed to handle the occurrence of some condition that changes the normal flow of execution. The condition is called an exception. Exceptions are normally recommended to be used only for signaling error exceptional conditions. For signaling conditions that are part of the normal flow of execution see the concepts

Posted in Computers & Technology by nilisha at 9:57 AM on November 01, 2007
Tags oops

Are C references the same as C references?

like a C pointer than a C reference. If you try to use a null reference, a NullReferenceException is thrown.For example, look at the following method:void displayStringLength string s Console.WriteLine "String is length 0", s.Length ;The problem with this method is that it will throw a NullReferenceException if called like this:string s = null;displayStringLength s ;Of course for some

Posted in Computers & Technology by Radhe Radhe at 8:29 PM on May 30, 2008
Refine By Date
sawaal signature
sawaal free visiting card