org.apache.axis

Class ConfigurationException

Known Direct Subclasses:
WSDDException

public class ConfigurationException
extends IOException

ConfigurationException is thrown when an error occurs trying to use an EngineConfiguration.
Author:
Glyn Normington (glyn@apache.org)

Field Summary

protected static boolean
copyStackByDefault
Flag wether to copy the orginal exception by default.
protected static Log
log
The Log used by this class for logging all messages.

Constructor Summary

ConfigurationException(Exception exception)
Construct a ConfigurationException from an Exception.
ConfigurationException(Exception exception, boolean copyStack)
Construct a ConfigurationException from an Exception.
ConfigurationException(String message)
Construct a ConfigurationException from a String.

Method Summary

Exception
getContainedException()
Get any contained exception.
String
toString()
Stringify, including stack trace.

Field Details

copyStackByDefault

protected static boolean copyStackByDefault
Flag wether to copy the orginal exception by default.

log

protected static Log log
The Log used by this class for logging all messages.

Constructor Details

ConfigurationException

public ConfigurationException(Exception exception)
Construct a ConfigurationException from an Exception.
Parameters:
exception - original exception which was unexpected

ConfigurationException

public ConfigurationException(Exception exception,
                              boolean copyStack)
Construct a ConfigurationException from an Exception.
Parameters:
exception - original exception which was unexpected
copyStack - set to true to copy the orginal exception's stack

ConfigurationException

public ConfigurationException(String message)
Construct a ConfigurationException from a String. The string is wrapped in an exception, enabling a stack traceback to be obtained.
Parameters:
message - String form of the error

Method Details

getContainedException

public Exception getContainedException()
Get any contained exception.
Returns:
base exception or null
Since:
axis1.1

toString

public String toString()
Stringify, including stack trace.
Returns:
a String view of this object

Copyright B) 2005 Apache Web Services Project. All Rights Reserved.