Exception: TaskJuggler::TjException

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(error = true, fatal = false) ⇒ TjException

Returns a new instance of TjException.



20
21
22
23
# File 'lib/taskjuggler/TjException.rb', line 20

def initialize(error = true, fatal = false)
  @error = error
  @fatal = fatal
end

Instance Attribute Details

#errorObject (readonly)

Returns the value of attribute error.



18
19
20
# File 'lib/taskjuggler/TjException.rb', line 18

def error
  @error
end

#fatalObject (readonly)

Returns the value of attribute fatal.



18
19
20
# File 'lib/taskjuggler/TjException.rb', line 18

def fatal
  @fatal
end