Class: Aws::CloudWatch::Errors::ValidationException Deprecated

Inherits:
ServiceError
  • Object
show all
Defined in:
gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/errors.rb

Overview

Deprecated.

This error class is not used during parsing. Please use ValidationError instead.

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ValidationException

Returns a new instance of ValidationException.

Parameters:



358
359
360
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/errors.rb', line 358

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#message ⇒ String

Returns:

  • (String)


363
364
365
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/errors.rb', line 363

def message
  @message || @data[:message]
end