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.



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

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

Instance Attribute Details

#errorObject (readonly)

Returns the value of attribute error.



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

def error
  @error
end

#fatalObject (readonly)

Returns the value of attribute fatal.



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

def fatal
  @fatal
end