Class: ErrorInformation

Inherits:
Object
  • Object
show all
Defined in:
lib/response/location/ErrorInformation.rb

Instance Method Summary collapse

Constructor Details

#initializeErrorInformation

Returns a new instance of ErrorInformation.



6
7
8
9
# File 'lib/response/location/ErrorInformation.rb', line 6

def initialize
  @serviceException=nil
  @policyException=nil
end

Instance Method Details

#getPolicyExceptionObject



32
33
34
# File 'lib/response/location/ErrorInformation.rb', line 32

def getPolicyException
  @policyException
end

#getServiceExceptionObject



24
25
26
# File 'lib/response/location/ErrorInformation.rb', line 24

def getServiceException
  @serviceException
end

#initializeJSON(jsondict) ⇒ Object



11
12
13
14
15
16
17
18
19
20
21
22
# File 'lib/response/location/ErrorInformation.rb', line 11

def initializeJSON(jsondict)
  @serviceException=nil
  if (jsondict!=nil) && (jsondict.has_key?'serviceException') && (jsondict['serviceException']!=nil) then
    @serviceException=ServiceException.new
    @serviceException.initializeJSON(jsondict['serviceException'])
  end
  @policyException=nil
  if (jsondict!=nil) && (jsondict.has_key?'policyException') && (jsondict['policyException']!=nil) then
    @policyException=PolicyException.new
    @policyException.initializeJSON(jsondict['policyException'])
  end
end

#setPolicyException(policyException) ⇒ Object



36
37
38
# File 'lib/response/location/ErrorInformation.rb', line 36

def setPolicyException(policyException)
  @policyException=policyException
end

#setServiceException(serviceException) ⇒ Object



28
29
30
# File 'lib/response/location/ErrorInformation.rb', line 28

def setServiceException(serviceException)
  @serviceException=serviceException
end