C# Class RightScale.netClient.RightScaleAPIException

Inheritance: System.Exception
Exibir arquivo Open project: rs-services/RightScaleNetAPI

Public Properties

Property Type Description
APIHref string
ErrorData string
parameterSet string>>.List

Public Methods

Method Description
RightScaleAPIException ( ) : System

Creates a new instance of a RightScale API Exception

RightScaleAPIException ( string message ) : System

Creates a new instance of a RightScale API Exception

RightScaleAPIException ( string message, string href, string errorData ) : System

Creates a new instance of a RightScale API Exception

RightScaleAPIException ( string message, string href, string errorData, Exception innerException ) : System

Creates a new instance of a RightScale API Exception

RightScaleAPIException ( string message, string href, string errorData, Exception innerException, string>.List paramSet ) : System

Creates a new instance of a RightScale API Exception

Protected Methods

Method Description
RightScaleAPIException ( SerializationInfo info, StreamingContext context ) : System

Protected constructor to manage reserialization of object

Private Methods

Method Description
GetObjectData ( SerializationInfo info, StreamingContext context ) : void

Method Details

RightScaleAPIException() public method

Creates a new instance of a RightScale API Exception
public RightScaleAPIException ( ) : System
return System

RightScaleAPIException() protected method

Protected constructor to manage reserialization of object
protected RightScaleAPIException ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo The SerializationInfo that holds the serialized object data about the exception being thrown.
context System.Runtime.Serialization.StreamingContext The StreamingContext that contains contextual information about the source or destination.
return System

RightScaleAPIException() public method

Creates a new instance of a RightScale API Exception
public RightScaleAPIException ( string message ) : System
message string Custom message for this instance of an exception
return System

RightScaleAPIException() public method

Creates a new instance of a RightScale API Exception
public RightScaleAPIException ( string message, string href, string errorData ) : System
message string Custom message for this instance of an exception
href string href endpoint reference for a failed API call
errorData string Error data that's returned via the RightScale API
return System

RightScaleAPIException() public method

Creates a new instance of a RightScale API Exception
public RightScaleAPIException ( string message, string href, string errorData, Exception innerException ) : System
message string Custom message for this instance of an exception
href string href endpoint reference for a failed API call
errorData string Error data that's returned via the RightScale API
innerException System.Exception Inner exception thrown by the underlying process
return System

RightScaleAPIException() public method

Creates a new instance of a RightScale API Exception
public RightScaleAPIException ( string message, string href, string errorData, Exception innerException, string>.List paramSet ) : System
message string Custom message for this instance of an exception
href string href endpoint reference for a failed API call
errorData string Error data that's returned via the RightScale API
innerException System.Exception Inner exception thrown by the underlying process
paramSet string>.List Set of parameters passed into the RightScale API for the failed call throwing this exception
return System

Property Details

APIHref public_oe property

href endpoint reference of failed API call
public string APIHref
return string

ErrorData public_oe property

Error data that's returned via the RightScale API
public string ErrorData
return string

parameterSet public_oe property

Collection of parameters specific to the current API call
public List> parameterSet
return string>>.List