org.jcoderz.commons.config
Class ConfigurationFactoryFailedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.jcoderz.commons.BaseRuntimeException
                  extended by org.jcoderz.commons.config.ConfigurationServiceRuntimeException
                      extended by org.jcoderz.commons.config.ConfigurationFactoryFailedException
All Implemented Interfaces:
Serializable, Loggable

public class ConfigurationFactoryFailedException
extends ConfigurationServiceRuntimeException

Failed to create ServiceConfiguration instance for service {CLASSNAME}. This exception encapsulates the log message CfgLogMessage.CONFIGURATION_FACTORY_FAILED.

Author:
generated
See Also:
Serialized Form

Constructor Summary
protected ConfigurationFactoryFailedException(CfgLogMessage messageInfo)
          Constructor getting an log message info.
protected ConfigurationFactoryFailedException(CfgLogMessage messageInfo, Throwable cause)
          Constructor getting an log message info and a root exception.
  ConfigurationFactoryFailedException(String classname)
          Constructs a configuration factory failed exception with a cause.
  ConfigurationFactoryFailedException(String classname, Throwable cause)
          Constructs a configuration factory failed exception with a cause.
 
Method Summary
 String valueOfClassname()
          Returns the value of the parameter classname.
 
Methods inherited from class org.jcoderz.commons.BaseRuntimeException
addParameter, getCause, getEventTime, getInstanceId, getLogMessageInfo, getMessage, getNodeId, getParameter, getParameterNames, getSourceClass, getSourceMethod, getThreadId, getThreadName, getTrackingNumber, initCause, log, logCreation, toDetailedString, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConfigurationFactoryFailedException

public ConfigurationFactoryFailedException(String classname,
                                           Throwable cause)
Constructs a configuration factory failed exception with a cause.

Parameters:
classname - The classname used in the message.
cause - the cause of this exception.

ConfigurationFactoryFailedException

public ConfigurationFactoryFailedException(String classname)
Constructs a configuration factory failed exception with a cause.

Parameters:
classname - The classname used in the message.

ConfigurationFactoryFailedException

protected ConfigurationFactoryFailedException(CfgLogMessage messageInfo)
Constructor getting an log message info. This constructor is for generated exceptions internal use only.

Parameters:
messageInfo - the log message info for this exception

ConfigurationFactoryFailedException

protected ConfigurationFactoryFailedException(CfgLogMessage messageInfo,
                                              Throwable cause)
Constructor getting an log message info and a root exception. This constructor is for generated exceptions internal use only.

Parameters:
messageInfo - the log message info for this exception
cause - the problem that caused this exception to be thrown
Method Detail

valueOfClassname

public String valueOfClassname()
Returns the value of the parameter classname.

Returns:
the value of the parameter classname.


Copyright 2007 The jCoderZ Project.