Exception: Rox::Core::UserspaceHandlerException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rox/core/error_handling/userspace_handler_exception.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(exception_source, exception_trigger, original_exception) ⇒ UserspaceHandlerException

Returns a new instance of UserspaceHandlerException.



5
6
7
8
9
10
# File 'lib/rox/core/error_handling/userspace_handler_exception.rb', line 5

def initialize(exception_source, exception_trigger, original_exception)
  @exception_source = exception_source
  @exception_trigger = exception_trigger
  @original_exception = original_exception
  super('user unhandled exception in roxx expression')
end

Instance Attribute Details

#exception_sourceObject

Returns the value of attribute exception_source.



4
5
6
# File 'lib/rox/core/error_handling/userspace_handler_exception.rb', line 4

def exception_source
  @exception_source
end

#exception_triggerObject

Returns the value of attribute exception_trigger.



4
5
6
# File 'lib/rox/core/error_handling/userspace_handler_exception.rb', line 4

def exception_trigger
  @exception_trigger
end

#original_exceptionObject

Returns the value of attribute original_exception.



4
5
6
# File 'lib/rox/core/error_handling/userspace_handler_exception.rb', line 4

def original_exception
  @original_exception
end