CakeException.

CakeException(int, string, Exception) Constructor

Summary

Initializes a new instance of the CakeException class.
Namespace
Cake.Core
Containing Type
CakeException

Syntax

public CakeException(int exitCode, string message, Exception innerException)

Parameters

Name Type Description
exitCode int Custom exit code.
message string The error message that explains the reason for the exception.
innerException Exception The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

Return Value

Type Description
void