| java.lang.Object java.lang.Throwable java.lang.Exception org.archive.crawler.framework.exceptions.InitializationException org.archive.crawler.framework.exceptions.ConfigurationException
All known Subclasses: org.archive.crawler.framework.exceptions.FatalConfigurationException,
ConfigurationException | public class ConfigurationException extends InitializationException (Code) | | ConfigurationExceptions should be thrown when a configuration file
is missing data, or contains uninterpretable data, at runtime. Fatal
errors (that should cause the program to exit) should be thrown as
FatalConfigurationExceptions.
You may optionally note the
author: Parker Thompson |
Method Summary | |
public String | getElement() | public String | getFile() | public void | setElement(String target) Set the name of the element that was being parsed
when this exception occured. | public void | setFile(String name) Store the name of the configuration file that was being parsed
when this exception occured. |
ConfigurationException | public ConfigurationException()(Code) | | default constructor
|
ConfigurationException | public ConfigurationException(String message)(Code) | | Create a ConfigurationException
Parameters: message - |
ConfigurationException | public ConfigurationException(String message, Throwable cause)(Code) | | Parameters: message - Parameters: cause - |
ConfigurationException | public ConfigurationException(Throwable cause)(Code) | | Create a ConfigurationException
Parameters: cause - |
ConfigurationException | public ConfigurationException(String message, String filename, String elementname)(Code) | | Create ConfigurationException
Parameters: message - Parameters: filename - Parameters: elementname - |
ConfigurationException | public ConfigurationException(String message, Throwable cause, String filename, String elementname)(Code) | | Create ConfigurationException
Parameters: message - Parameters: cause - Parameters: filename - Parameters: elementname - |
ConfigurationException | public ConfigurationException(Throwable cause, String filename, String elementname)(Code) | | Create ConfigurationException
Parameters: cause - Parameters: filename - Parameters: elementname - |
getElement | public String getElement()(Code) | | name of the element being parsed when this exception occurred |
getFile | public String getFile()(Code) | | name of configuration file being parsed when this exception occurred |
setElement | public void setElement(String target)(Code) | | Set the name of the element that was being parsed
when this exception occured.
Parameters: target - |
setFile | public void setFile(String name)(Code) | | Store the name of the configuration file that was being parsed
when this exception occured.
Parameters: name - |
|
|