VMware vSphere Automation SDK Perl
The VMware vSphere Automation SDK for Perl supports the client-side vSphere Automation API for access to vSphere services and capabilities
 All Classes Files Functions
List of all members
Com::Vmware::Vapi::Std::Errors::FileLocations Class Reference
Inheritance diagram for Com::Vmware::Vapi::Std::Errors::FileLocations:

Avaliable Methods

public method set_secondary ()
 
public method get_secondary ()
 
public method set_primary ()
 
public method get_primary ()
 
public method new ()
 

Detailed Description

The Com::Vmware::Vapi::Std::Errors::FileLocations class identifies the file(s) that caused the method to report the error .

Some types of errors are caused by a problem with one or more files. This class is intended to be used as the payload to identify those files when the method reports errors like class Com::Vmware::Vapi::Std::Errors::NotFound . See :attr:Com::Vmware::Vapi::Std::Errors::Error.data .

Member Function Documentation

public method Com::Vmware::Vapi::Std::Errors::FileLocations::get_primary ( )

Gets the value of 'primary' property.

Return values
primary- The current value of the field. String identifying the file that triggered the error . String#
Code:
click to view
public method Com::Vmware::Vapi::Std::Errors::FileLocations::get_secondary ( )

Gets the value of 'secondary' property.

Return values
secondary- The current value of the field. List* (possibly empty) of strings identifying other files that caused the primary file to trigger the error . List#
Code:
click to view
public method Com::Vmware::Vapi::Std::Errors::FileLocations::new ( )

Constructor to initialize the Com::Vmware::Vapi::Std::Errors::FileLocations structure

Return values
Blessedobject
Code:
click to view
public method Com::Vmware::Vapi::Std::Errors::FileLocations::set_primary ( )

Sets the given value for 'primary' property.

Parameters
primary- New value for the field. String identifying the file that triggered the error .
Code:
click to view
public method Com::Vmware::Vapi::Std::Errors::FileLocations::set_secondary ( )

Sets the given value for 'secondary' property.

Parameters
secondary- New value for the field. List* (possibly empty) of strings identifying other files that caused the primary file to trigger the error .
Code:
click to view

The documentation for this class was generated from the following file: