Class InvalidPluginManifestException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.xebialabs.xlrelease.osgi.spring.InvalidPluginManifestException
All Implemented Interfaces:
Serializable

public class InvalidPluginManifestException extends RuntimeException
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 Details

    • InvalidPluginManifestException

      public InvalidPluginManifestException(org.osgi.framework.Bundle bundle, String header, String reason)
    • InvalidPluginManifestException

      public InvalidPluginManifestException(org.osgi.framework.Bundle bundle, String header, String reason, Throwable cause)