Exception: Fig::Log4rConfigError

Inherits:
UserInputError show all
Defined in:
lib/fig/log4r_config_error.rb

Overview

A problem with configuring Log4r.

Instance Attribute Summary collapse

Instance Method Summary collapse

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.message}>
  )

  @config_file = config_file
  @original_exception = original_exception
end

Instance Attribute Details

#config_fileObject (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_exceptionObject (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