final protected static function getNewExceptionInstance($message, $code, array $arguments = [])
    {
        $exceptionClassName = get_called_class();

        return new $exceptionClassName(
            vsprintf($message, $arguments),
            $code
        );
    }
final protected static function getNewExceptionInstance($message, $code, array $arguments = [])
    {
        $exceptionClassName = get_called_class();

        return new $exceptionClassName(
            vsprintf($message, $arguments),
            $code
        );
    }
final protected static function getNewExceptionInstance ( $ message , $ code , array $ arguments = [ ] ) { $ exceptionClassName = get_called_class ( ) ; return new $ exceptionClassName ( vsprintf ( $ message , $ arguments ) , $ code ) ; }
Creates a new exception instance.

@param string $message
@param int $code
@param array $arguments
@return FormzException
Creates a new exception instance .