Exception: AimsProject::InvalidFilenameException

Inherits:
AimsProjectException show all
Defined in:
lib/aims_project/aims_project_exception.rb

Instance Method Summary collapse

Constructor Details

#initialize(filename) ⇒ InvalidFilenameException

Returns a new instance of InvalidFilenameException.



7
8
9
10
11
12
13
# File 'lib/aims_project/aims_project_exception.rb', line 7

def initialize(filename)
  if filename.nil?
    super "No filename specified"
  else
    super "The filename #{filename} is invalid."
  end
end