class BadPluginDefinitionException extends InvalidPluginDefinitionException (View source)

Defines a class for bad plugin definition exceptions.

Properties

protected string $pluginId

The plugin ID of the mapper.

from  InvalidPluginDefinitionException

Methods

__construct(string $plugin_id, string $property, int $code = 0, Exception $previous = NULL)

Constructs a BadPluginDefinitionException.

string
getPluginId()

Gets the plugin ID of the mapper that raised the exception.

Details

__construct(string $plugin_id, string $property, int $code = 0, Exception $previous = NULL)

Constructs a BadPluginDefinitionException.

Parameters

string $plugin_id

The plugin ID of the mapper.

string $property

The name of the property that is missing from the plugin.

int $code

The exception code.

Exception $previous

The previous throwable used for exception chaining.

See also

Exception

string getPluginId()

Gets the plugin ID of the mapper that raised the exception.

Return Value

string

The plugin ID.