Class: DSP::ExceptionDetails
Overview
interface ExceptionDetails {
/** Message contained in the exception. */
message?: string;
/** Short type name of the exception object. */
typeName?: string;
/** Fully-qualified type name of the exception object. */
fullTypeName?: string;
/** Optional expression that can be evaluated in the current scope to obtain the exception object. */
evaluateName?: string;
/** Stack trace at the time the exception was thrown. */
stackTrace?: string;
/** Details of the exception contained by this exception, if any. */
innerException?: ExceptionDetails[];
}
Instance Attribute Summary collapse
-
#evaluateName ⇒ Object
type: string # type: string # type: string # type: string # type: string # type: ExceptionDetails[].
-
#fullTypeName ⇒ Object
type: string # type: string # type: string # type: string # type: string # type: ExceptionDetails[].
-
#innerException ⇒ Object
type: string # type: string # type: string # type: string # type: string # type: ExceptionDetails[].
-
#message ⇒ Object
type: string # type: string # type: string # type: string # type: string # type: ExceptionDetails[].
-
#stackTrace ⇒ Object
type: string # type: string # type: string # type: string # type: string # type: ExceptionDetails[].
-
#typeName ⇒ Object
type: string # type: string # type: string # type: string # type: string # type: ExceptionDetails[].
Instance Method Summary collapse
- #from_h!(value) ⇒ Object
-
#initialize(initial_hash = nil) ⇒ ExceptionDetails
constructor
A new instance of ExceptionDetails.
Methods inherited from DSPBase
Constructor Details
#initialize(initial_hash = nil) ⇒ ExceptionDetails
Returns a new instance of ExceptionDetails.
4551 4552 4553 4554 |
# File 'lib/dsp/dsp_protocol.rb', line 4551 def initialize(initial_hash = nil) super @optional_method_names = %i[message typeName fullTypeName evaluateName stackTrace innerException] end |
Instance Attribute Details
#evaluateName ⇒ Object
type: string # type: string # type: string # type: string # type: string # type: ExceptionDetails[]
4549 4550 4551 |
# File 'lib/dsp/dsp_protocol.rb', line 4549 def evaluateName @evaluateName end |
#fullTypeName ⇒ Object
type: string # type: string # type: string # type: string # type: string # type: ExceptionDetails[]
4549 4550 4551 |
# File 'lib/dsp/dsp_protocol.rb', line 4549 def fullTypeName @fullTypeName end |
#innerException ⇒ Object
type: string # type: string # type: string # type: string # type: string # type: ExceptionDetails[]
4549 4550 4551 |
# File 'lib/dsp/dsp_protocol.rb', line 4549 def innerException @innerException end |
#message ⇒ Object
type: string # type: string # type: string # type: string # type: string # type: ExceptionDetails[]
4549 4550 4551 |
# File 'lib/dsp/dsp_protocol.rb', line 4549 def @message end |
#stackTrace ⇒ Object
type: string # type: string # type: string # type: string # type: string # type: ExceptionDetails[]
4549 4550 4551 |
# File 'lib/dsp/dsp_protocol.rb', line 4549 def stackTrace @stackTrace end |
#typeName ⇒ Object
type: string # type: string # type: string # type: string # type: string # type: ExceptionDetails[]
4549 4550 4551 |
# File 'lib/dsp/dsp_protocol.rb', line 4549 def typeName @typeName end |
Instance Method Details
#from_h!(value) ⇒ Object
4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 |
# File 'lib/dsp/dsp_protocol.rb', line 4556 def from_h!(value) value = {} if value.nil? self. = value['message'] self.typeName = value['typeName'] self.fullTypeName = value['fullTypeName'] self.evaluateName = value['evaluateName'] self.stackTrace = value['stackTrace'] self.innerException = to_typed_aray(value['innerException'], ExceptionDetails) self end |