Exception: Development::Exception::ExpressionError

Inherits:
Exception
  • Object
show all
Defined in:
lib/development/exception/expression_error.rb

Defined Under Namespace

Classes: UnknownDirectoryName, UnknownGemOrGemsetName

Instance Method Summary collapse

Constructor Details

#initialize(exception_string, configuration_line_number) ⇒ ExpressionError

initialize #



8
9
10
11
12
13
14
15
16
# File 'lib/development/exception/expression_error.rb', line 8

def initialize( exception_string, configuration_line_number )

  exception_string << ' on line ' << configuration_line_number.to_s << ' of configuration file' + 
                      ' (' + ::File.expand_path( '~/' + ::Development::ConfigurationFileName ) + 
                      ').'
  
  super( exception_string )

end