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   */
11  public class ComponentConfigurationException extends Exception {
12      private PlexusConfiguration failedConfiguration;
13  
14      public ComponentConfigurationException(String message) {
15          super(message);
16      }
17  
18      public ComponentConfigurationException(String message, Throwable cause) {
19          super(message, cause);
20      }
21  
22      public ComponentConfigurationException(Throwable cause) {
23          super(cause);
24      }
25  
26      public ComponentConfigurationException(PlexusConfiguration failedConfiguration, String message) {
27          super(message);
28          this.failedConfiguration = failedConfiguration;
29      }
30  
31      public ComponentConfigurationException(PlexusConfiguration failedConfiguration, String message, Throwable cause) {
32          super(message, cause);
33          this.failedConfiguration = failedConfiguration;
34      }
35  
36      public ComponentConfigurationException(PlexusConfiguration failedConfiguration, Throwable cause) {
37          super(cause);
38          this.failedConfiguration = failedConfiguration;
39      }
40  
41      public void setFailedConfiguration(PlexusConfiguration failedConfiguration) {
42          this.failedConfiguration = failedConfiguration;
43      }
44  
45      public PlexusConfiguration getFailedConfiguration() {
46          return failedConfiguration;
47      }
48  }