F
Flzw
Is it possible to cancel a constructor ?
I mean, for example I have an object which is created by reading a file so
there is a filename argument to the constructor. But if it happens the file
is not of the proper type the constructor should fail and not create any
object.
I mean, for example I have an object which is created by reading a file so
there is a filename argument to the constructor. But if it happens the file
is not of the proper type the constructor should fail and not create any
object.