Class: Com::Vmware::Vapi::Std::Errors::Unsupported
- Inherits:
-
Error
- Object
- VAPI::Bindings::VapiError
- Error
- Com::Vmware::Vapi::Std::Errors::Unsupported
- Defined in:
- /build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/std/errors.rb
Overview
The ``Com::Vmware::Vapi::Std::Errors::Unsupported`` error indicates that the method is not supported by the class .
Examples:
* Trying to hot-plug a CPU when the current configuration of the VM does not support hot-plugging of CPUs.
* Trying to change the memory size to a value that is not within the acceptable guest memory bounds supported by the virtual machine's host.
Instance Attribute Summary
Attributes inherited from Error
Class Method Summary (collapse)
-
+ (VAPI::Bindings::ErrorType) binding_type
Holds (gets or creates) the binding type metadata for this error type.
Instance Method Summary (collapse)
-
- (Unsupported) initialize(binding_type = self.class.binding_type, error_value = nil)
constructor
Constructs a new instance.
Constructor Details
- (Unsupported) initialize(binding_type = self.class.binding_type, error_value = nil)
Constructs a new instance.
216 217 218 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/std/errors.rb', line 216 def initialize(binding_type=self.class.binding_type, error_value=nil) super(binding_type, error_value) end |
Class Method Details
+ (VAPI::Bindings::ErrorType) binding_type
Holds (gets or creates) the binding type metadata for this error type.
200 201 202 203 204 205 206 207 208 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/vapi/std/errors.rb', line 200 def binding_type @binding_type ||= VAPI::Bindings::ErrorType.new( 'com.vmware.vapi.std.errors.unsupported', { 'messages' => VAPI::Bindings::ListType.new(VAPI::Bindings::ReferenceType.new('Com::Vmware::Vapi::Std::LocalizableMessage')), 'data' => VAPI::Bindings::OptionalType.new(VAPI::Bindings::DynamicStructType.new()), }, Unsupported) end |