Can any constructor throw an exception?, C/C++ Programming

Can any constructor throw an exception? How to handle error while the constructor fails?

 

Posted Date: 3/15/2013 3:56:11 AM | Location : United States





A:The constructor can never throws an error 

 

Posted by | Posted Date: 3/15/2013 3:56:51 AM


Related Discussions:- Can any constructor throw an exception?, Assignment Help, Ask Question on Can any constructor throw an exception?, Get Answer, Expert's Help, Can any constructor throw an exception? Discussions

Write discussion on Can any constructor throw an exception?
Your posts are moderated
Related Questions
a palindrome is a string that reads the same from bhote the ends

Syntax rules for writing a destructor function Its name is the similar as that of the class to which it belongs, except that the first character of the name is the symbol t

Assume we wish to partition the square roots of the integers from 1 to 100 in to two piles of fifty numbers every, such that the sum of the numbers in the first pile is as close as

Radix sort - C program: Write a program in c to define a radix sort. void main() {  int array[100],n;  int i;  void radix(int *,int);  printf ("How many nos\

A name clash happens when a name is described in more than one place. For example, two dissimilar class libraries could give two different classes the similar name. If you try to u

write a program to find the area under the curve y=f(x) between x=a and x=b integrate y=f(x) between the limits of a and b #include float start_point,

Program is to append the contents of one file to another: void main()    {   clrscr();   fstream file1,file2;   char st1[13],st2[13];/* 13 because a filename canno


differentiate between inbuilt and user defined functions

Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve between two points can b