PublishException Class

Summary

Thrown when an error occurs during publishing
Assembly
Cake.ClickTwice.dll
Namespace
Cake.ClickTwice
Base Types
  • Exception
graph BT Type-->Base0["Exception"] Type["PublishException"] class Type type-node

Syntax

public class PublishException : Exception

Constructors

Name Summary
PublishException(IEnumerable<HandlerResponse>, string) Create a new PublishException exception with the given text and handler responses
PublishException(IEnumerable<HandlerResponse>) Create a new PublishException exception with the given handler responses
PublishException(SerializationInfo, StreamingContext)
PublishException(string, Exception) Create a new PublishException exception with the given text and inner exception
PublishException(string) Create a new PublishException exception with the given text

Properties

Name Value Summary
Errors IEnumerable<HandlerResponse>
Collection of responses from the handlers that threw the exception

Extension Methods

Name Value Summary
Dump<PublishException>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<PublishException>(PublishException[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<PublishException>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<PublishException>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<PublishException>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<PublishException>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin