Exception: Fig::Log4rConfigError
- Inherits:
-
UserInputError
- Object
- StandardError
- UserInputError
- Fig::Log4rConfigError
- Defined in:
- lib/fig/log4r_config_error.rb
Overview
A problem with configuring Log4r.
Instance Attribute Summary collapse
-
#config_file ⇒ Object
readonly
Returns the value of attribute config_file.
-
#original_exception ⇒ Object
readonly
Returns the value of attribute original_exception.
Instance Method Summary collapse
-
#initialize(config_file, original_exception) ⇒ Log4rConfigError
constructor
A new instance of Log4rConfigError.
Constructor Details
#initialize(config_file, original_exception) ⇒ Log4rConfigError
Returns a new instance of Log4rConfigError.
10 11 12 13 14 15 16 17 |
# File 'lib/fig/log4r_config_error.rb', line 10 def initialize(config_file, original_exception) super( %Q<Problem with #{config_file}: #{original_exception.}> ) @config_file = config_file @original_exception = original_exception end |
Instance Attribute Details
#config_file ⇒ Object (readonly)
Returns the value of attribute config_file.
8 9 10 |
# File 'lib/fig/log4r_config_error.rb', line 8 def config_file @config_file end |
#original_exception ⇒ Object (readonly)
Returns the value of attribute original_exception.
8 9 10 |
# File 'lib/fig/log4r_config_error.rb', line 8 def original_exception @original_exception end |