public function __construct($method = '', $code = 500, Exception $previous = null) { $message = \JText::sprintf('LIB_FOF_MODEL_ERR_TREE_UNSUPPORTEDMETHOD', $method); parent::__construct($message, $code, $previous); }