View Javadoc
1   package org.codehaus.plexus.component.configurator;
2   
3   import org.codehaus.plexus.configuration.PlexusConfiguration;
4   
5   /**
6    *
7    * 
8    * @author Jason van Zyl
9    *
10   * @version $Id$
11   */
12  public class ComponentConfigurationException
13      extends Exception
14  {
15      private PlexusConfiguration failedConfiguration;
16  
17      public ComponentConfigurationException( String message )
18      {
19          super( message );
20      }
21  
22      public ComponentConfigurationException( String message, Throwable cause )
23      {
24          super( message, cause );
25      }
26  
27      public ComponentConfigurationException( Throwable cause )
28      {
29          super( cause );
30      }
31      
32      public ComponentConfigurationException( PlexusConfiguration failedConfiguration, String message )
33      {
34          super( message );
35          this.failedConfiguration = failedConfiguration;
36      }
37  
38      public ComponentConfigurationException( PlexusConfiguration failedConfiguration, String message, Throwable cause )
39      {
40          super( message, cause );
41          this.failedConfiguration = failedConfiguration;
42      }
43  
44      public ComponentConfigurationException( PlexusConfiguration failedConfiguration, Throwable cause )
45      {
46          super( cause );
47          this.failedConfiguration = failedConfiguration;
48      }
49      
50      public void setFailedConfiguration( PlexusConfiguration failedConfiguration )
51      {
52          this.failedConfiguration = failedConfiguration;
53      }
54      
55      public PlexusConfiguration getFailedConfiguration()
56      {
57          return failedConfiguration;
58      }
59  }