public class InvalidPluginConfigException extends RuntimeException
PluginConfig
cannot be created from provided PluginProperties
. This
can happen if properties required by the PluginConfig are not in the PluginProperties, or when
the property type specified by the PluginConfig is incompatible with the value provided in the
PluginProperties.Constructor and Description |
---|
InvalidPluginConfigException(PluginClass pluginClass,
Set<String> missingProperties,
Set<InvalidPluginProperty> invalidProperties) |
InvalidPluginConfigException(String message,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
Set<InvalidPluginProperty> |
getInvalidProperties() |
Set<String> |
getMissingProperties() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidPluginConfigException(PluginClass pluginClass, Set<String> missingProperties, Set<InvalidPluginProperty> invalidProperties)
public Set<String> getMissingProperties()
public Set<InvalidPluginProperty> getInvalidProperties()
Copyright © 2024 Cask Data, Inc. Licensed under the Apache License, Version 2.0.