Exception::__cloneClone the exception Description
private void Exception::__clone()
Exceptions do not support cloning; this method exists only to prevent it. Warning
Exceptions cannot be cloned, whether they are instances of Exception or of a subclass. Attempting to clone an exception throws an Error, which may be caught. ParametersThis function has no parameters. Return ValuesNo value is returned. Errors/Exceptions
Attempting to clone an exception throws an Error
with the following message:
Changelog
|