Class QInvalidCastException
The exception that is thrown by QType::Cast
if an invalid cast is performed. InvalidCastException
derives from CallerException, and therefore should be handled
similar to how CallerExceptions are handled (e.g. IncrementOffset should
be called whenever an InvalidCastException is caught and rethrown).
-
Exception
-
QCallerException
-
QInvalidCastException
Methods summary
public
|
#
__construct( string $strMessage, integer $intOffset = 2 )
Constructor
Parameters
Overrides
|
Methods inherited from Exception
__toString(),
__wakeup(),
getCode(),
getFile(),
getLine(),
getMessage(),
getPrevious(),
getTrace(),
getTraceAsString()
|
Properties inherited from Exception
$code,
$file,
$line,
$message
|