org.apache.maven.plugin
Class PluginContainerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.maven.plugin.PluginManagerException
              extended by org.apache.maven.plugin.PluginContainerException
All Implemented Interfaces:
Serializable

public class PluginContainerException
extends PluginManagerException

Exception which occurs to indicate that the plugin cannot be initialized due to some deeper problem with Plexus. Context information includes the groupId, artifactId, and version for the plugin; at times, the goal name for which execution failed; a message detailing the problem; the ClassRealm used to lookup the plugin; and the Plexus exception that caused this error.

Author:
jdcasey
See Also:
Serialized Form

Constructor Summary
PluginContainerException(MojoDescriptor mojoDescriptor, ClassRealm pluginRealm, String message, ComponentLookupException e)
           
PluginContainerException(MojoDescriptor mojoDescriptor, ClassRealm pluginRealm, String message, Throwable e)
           
PluginContainerException(Plugin plugin, ClassRealm pluginRealm, String message, ComponentRepositoryException e)
           
PluginContainerException(Plugin plugin, ClassRealm pluginRealm, String message, PlexusConfigurationException e)
           
PluginContainerException(Plugin plugin, ClassRealm pluginRealm, String message, Throwable e)
           
 
Method Summary
 ClassRealm getPluginRealm()
           
 
Methods inherited from class org.apache.maven.plugin.PluginManagerException
getGoal, getPluginArtifactId, getPluginGroupId, getPluginVersion, getProject
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PluginContainerException

public PluginContainerException(MojoDescriptor mojoDescriptor,
                                ClassRealm pluginRealm,
                                String message,
                                Throwable e)

PluginContainerException

public PluginContainerException(MojoDescriptor mojoDescriptor,
                                ClassRealm pluginRealm,
                                String message,
                                ComponentLookupException e)

PluginContainerException

public PluginContainerException(Plugin plugin,
                                ClassRealm pluginRealm,
                                String message,
                                Throwable e)

PluginContainerException

public PluginContainerException(Plugin plugin,
                                ClassRealm pluginRealm,
                                String message,
                                PlexusConfigurationException e)

PluginContainerException

public PluginContainerException(Plugin plugin,
                                ClassRealm pluginRealm,
                                String message,
                                ComponentRepositoryException e)
Method Detail

getPluginRealm

public ClassRealm getPluginRealm()


Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.