name, join(', ', $instervals) ); $exception = new IntervalException($message, $code, $previous); $exception->periodicity = $periodicity; $exception->availableIntervals = $instervals; return $exception; } }