How can I override Drupal\Component\Datetime\DateTimePlus::createFromArray I have to form datelist field. If user select incorrect date, for example 1970-02-31, displayed exception Exception: 


  The array contains invalid values. in
  Drupal\Component\Datetime\DateTimePlus::createFromArray() (line 149 of
  core/lib/Drupal/Component/Datetime/DateTimePlus.php).


backtrace:


  
  Drupal\Component\Datetime\DateTimePlus::createFromArray() called
  at [/var/www/drupal8/core/modules/datetime/datetime.module:802] 
  form_type_datelist_value() 2  call_user_func_array() called at
  [/var/www/drupal8/core/lib/Drupal/Core/Form/FormBuilder.php:1542] 
  Drupal\Core\Form\FormBuilder->handleInputElement() called at
  [/var/www/drupal8/core/lib/Drupal/Core/Form/FormBuilder.php:1328] 
  Drupal\Core\Form\FormBuilder->doBuildForm() called at
  [/var/www/drupal8/core/lib/Drupal/Core/Form/FormBuilder.php:1390]
  Drupal\Core\Form\FormBuilder->doBuildForm() called at
  [/var/www/drupal8/core/lib/Drupal/Core/Form/FormBuilder.php:1390]
  


I want override exception to return FALSE, and display to user warning about incorrect date.

How do I it?
As @Daniel Wehner suggests, this can easily be done by wrapping the calling code in a try - catch block. That's what it is for.