__construct() __construct(string $className, string $message = self::MESSAGE, integer $code = self::CODE) Construct a new exception. Parameters string $className Name of the invalid class string $message Error message integer $code Error code
getClassName() getClassName() : string Get the name of the invalid class. Returns string — Name of the invalid class
concat() concat(string $message, string $name) Insert the name in a message Parameters string $message Error message string $name Name to insert