public function __construct($p_className, $p_methodName) { parent::__construct("{$p_methodName}() method is not available for the {$p_className} class", 0); $this->m_className = $p_className; $this->m_methodName = $p_methodName; }