Shoot yourself in the foot with Exception

Zend:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class Zend_Controller_Request_Http 
{
/**
* @throws Zend_Controller_Request_Exception
*/
public function getHeader($header)
{
if (empty($header)) {
throw new Zend_Controller_Request_Exception('An HTTP header name is required');
}

...
}

...
}

Developer:

1
$request->getHeader('Origin');

IDE:

1
(!) Unhandled Zend_Controller_Request_Exception

Why should I handle the exception if KNOW that it will never happen?

Why should I suffer?