Exception: FactoryError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/pluginfactory.rb

Overview

An exception class for PluginFactory specific errors.

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ FactoryError

Returns a new instance of FactoryError.



87
88
89
90
91
92
93
94
# File 'lib/pluginfactory.rb', line 87

def initialize( *args )
	if ! args.empty?
		msg = args.collect {|a| a.to_s}.join
		super( msg )
	else
		super( message )
	end					
end