Class InvalidPluginManifestException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.xebialabs.xlrelease.osgi.spring.InvalidPluginManifestException
- All Implemented Interfaces:
Serializable
Thrown by
PluginManifest.from(Bundle) when a bundle declares itself a Spring plugin
(it has an X-Plugin-Context header) but its manifest is malformed. Distinct from "not
a plugin at all" (Optional.empty()), so PluginBundleTracker can log a
clear error instead of silently ignoring a bundle that meant to be a plugin.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidPluginManifestException(org.osgi.framework.Bundle bundle, String header, String reason) InvalidPluginManifestException(org.osgi.framework.Bundle bundle, String header, String reason, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidPluginManifestException
-
InvalidPluginManifestException
-