C# Class Octopus.Client.Exceptions.OctopusException

Base class for all exceptions thrown by the Octopus client.
Inheritance: System.Exception
Show file Open project: OctopusDeploy/Octo.exe Class Usage Examples

Protected Methods

Method Description
OctopusException ( int httpStatusCode, string message ) : System

Initializes a new instance of the OctopusException class.

OctopusException ( int httpStatusCode, string message, Exception innerException ) : System

Initializes a new instance of the OctopusException class.

Method Details

OctopusException() protected method

Initializes a new instance of the OctopusException class.
protected OctopusException ( int httpStatusCode, string message ) : System
httpStatusCode int The HTTP status code.
message string The message.
return System

OctopusException() protected method

Initializes a new instance of the OctopusException class.
protected OctopusException ( int httpStatusCode, string message, Exception innerException ) : System
httpStatusCode int The HTTP status code.
message string The message.
innerException System.Exception The inner exception.
return System