_innerException = $innerException; } public function getInnerException() { return $this->_innerException; } public static function notImplemented($method, $class) { return new self("The method '$method' is not implemented in class '$class'."); } }