Table of Contents

Class WhimException

Namespace
Whim
Assembly
Whim.dll
The standard exception for Whim errors.
public class WhimException : Exception, ISerializable
Inheritance
WhimException
Implements
Inherited Members

Constructors

WhimException()

Initializes a new instance of the Exception class.
public WhimException()

WhimException(string)

Initializes a new instance of the Exception class with a specified error message.
public WhimException(string message)

Parameters

message string
The message that describes the error.

WhimException(string, Exception)

Initializes a new instance of the Exception class with a specified error message and a reference to the inner exception that is the cause of this exception.
public WhimException(string message, Exception innerException)

Parameters

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.

WhimException(string, LogLevel)

Log the given message with the given logLevel.
public WhimException(string message, LogLevel logLevel)

Parameters

message string
The message to log.
logLevel LogLevel
The log level to log the message at.