Class: Azure::DataMigration::Mgmt::V2018_03_15_preview::Models::ReportableException

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/reportable_exception.rb

Overview

Exception object for all custom exceptions

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#file_pathString

Returns The path to the file where exception occurred.

Returns:

  • (String)

    The path to the file where exception occurred



19
20
21
# File 'lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/reportable_exception.rb', line 19

def file_path
  @file_path
end

#h_resultInteger

exception

Returns:

  • (Integer)

    Coded numerical value that is assigned to a specific



26
27
28
# File 'lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/reportable_exception.rb', line 26

def h_result
  @h_result
end

#line_numberString

Returns The line number where exception occurred.

Returns:

  • (String)

    The line number where exception occurred



22
23
24
# File 'lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/reportable_exception.rb', line 22

def line_number
  @line_number
end

#messageString

Returns Error message.

Returns:

  • (String)

    Error message



16
17
18
# File 'lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/reportable_exception.rb', line 16

def message
  @message
end

#stack_traceString

Returns Stack trace.

Returns:

  • (String)

    Stack trace



29
30
31
# File 'lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/reportable_exception.rb', line 29

def stack_trace
  @stack_trace
end

Class Method Details

.mapperObject

Mapper for ReportableException class as Ruby Hash. This will be used for serialization/deserialization.



36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# File 'lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/reportable_exception.rb', line 36

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ReportableException',
    type: {
      name: 'Composite',
      class_name: 'ReportableException',
      model_properties: {
        message: {
          client_side_validation: true,
          required: false,
          serialized_name: 'message',
          type: {
            name: 'String'
          }
        },
        file_path: {
          client_side_validation: true,
          required: false,
          serialized_name: 'filePath',
          type: {
            name: 'String'
          }
        },
        line_number: {
          client_side_validation: true,
          required: false,
          serialized_name: 'lineNumber',
          type: {
            name: 'String'
          }
        },
        h_result: {
          client_side_validation: true,
          required: false,
          serialized_name: 'hResult',
          type: {
            name: 'Number'
          }
        },
        stack_trace: {
          client_side_validation: true,
          required: false,
          serialized_name: 'stackTrace',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end