class InvalidPluginDefinitionException extends PluginException (View source)

Defines a class for invalid plugin definition exceptions.

Properties

protected string $pluginId

The plugin ID of the mapper.

Methods

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

Constructs an InvalidPluginDefinitionException.

string
getPluginId()

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

Details

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

Constructs an InvalidPluginDefinitionException.

Parameters

string $plugin_id

The plugin ID of the mapper.

string $message

The exception message.

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.