public function __construct()
 {
     $message = 'You cannot change the response type because content has already been rendered';
     parent::__construct($message);
 }
 public function __construct($response_type)
 {
     $message = 'Invalid response type: ' . $response_type;
     parent::__construct($message);
 }