Exception: AimsProject::InvalidFilenameException
- Inherits:
-
AimsProjectException
- Object
- StandardError
- AimsProjectException
- AimsProject::InvalidFilenameException
- Defined in:
- lib/aims_project/aims_project_exception.rb
Instance Method Summary collapse
-
#initialize(filename) ⇒ InvalidFilenameException
constructor
A new instance of InvalidFilenameException.
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 |