You are here

class SalesforceWarningEvent in Salesforce Suite 8.4

Same name and namespace in other branches
  1. 8.3 src/Event/SalesforceWarningEvent.php \Drupal\salesforce\Event\SalesforceWarningEvent
  2. 5.0.x src/Event/SalesforceWarningEvent.php \Drupal\salesforce\Event\SalesforceWarningEvent

Warning event.

Hierarchy

Expanded class hierarchy of SalesforceWarningEvent

3 files declare their use of SalesforceWarningEvent
DeleteHandler.php in modules/salesforce_pull/src/DeleteHandler.php
MappedObject.php in modules/salesforce_mapping/src/Entity/MappedObject.php
SalesforceMappingFieldPluginBase.php in modules/salesforce_mapping/src/SalesforceMappingFieldPluginBase.php

File

src/Event/SalesforceWarningEvent.php, line 10

Namespace

Drupal\salesforce\Event
View source
class SalesforceWarningEvent extends SalesforceExceptionEvent {

  /**
   * {@inheritdoc}
   */
  public function __construct(\Throwable $e = NULL, $message = '', array $args = []) {
    parent::__construct(RfcLogLevel::WARNING, $e, $message, $args);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
SalesforceExceptionEvent::$context protected property Context, for t() translation.
SalesforceExceptionEvent::$exception protected property Exception.
SalesforceExceptionEvent::$level protected property Event level: notice, warning, or error.
SalesforceExceptionEvent::$message protected property Message for logging.
SalesforceExceptionEvent::getContext public function Getter for message context. Overrides SalesforceExceptionEventInterface::getContext
SalesforceExceptionEvent::getException public function Getter for exception. Overrides SalesforceExceptionEventInterface::getException
SalesforceExceptionEvent::getLevel public function Getter for log level. Overrides SalesforceExceptionEventInterface::getLevel
SalesforceExceptionEvent::getMessage public function Getter for message string. Overrides SalesforceExceptionEventInterface::getMessage
SalesforceWarningEvent::__construct public function SalesforceExceptionEvent constructor. Overrides SalesforceExceptionEvent::__construct