# UnknownPluginException

constructor(message: String)(source)

@Incubating
constructor(message: String, @Nullable pluginId: @Nullable String)(source)

Creates an exception with the given message, carrying the id of the plugin that could not be found.

#### Since

9.7.0

#### Parameters

message

the exception message

pluginId

the id of the plugin that could not be found, or `null` if it is not known