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
Program of function overloading: class vector{                 private :                 int v[3];                   public:                 /*friend istream &

Project Description: We are seeking online invoice OCR solution. That will help us to automate accounts payable function. User should be able to use the offered pdf file or s

##question.A Padovan string P(n) for a natural number n is defined as: P(0) = ‘X’ P(1) = ‘Y’ P(2) = ‘Z’ P(n) = P(n-2) + P(n-3), n>2 where + denotes string co   program in jav

Define the Meaning of Call by reference? In "call-by- reference", as an alternative of passing the value of a variable, the location number (or the address) of the variable is

6#666#665533999 where # is used as space.output is monkey

The Scope Resolution Operator( :: ) Global variables are explained outside any functions and thus can be used by all the functions defined thereafter. However, if a global vari

#quGiven the Array class definition in Fig. 11.10-11.11 (pp. 476-479) of the textbook, write a new overloaded operator function for the ‘%’ (modulus) operator (i.e., return an arra

volume of a sphere

how to write a program using arrays

There is a pebble merchant. He sells the pebbles, that are used for shining the floor. His main duty is to take the length of the room’s sides. But he sometimes mistakes doing that