Summary
Initializes a new instance of the
CakeException
class.
- Namespace
- Cake
.Core - Containing Type
- CakeException
Syntax
public CakeException(string message, Exception innerException)
Parameters
Name | Type | Description |
---|---|---|
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 |