Class ColoreException
Generic Colore library exception.
Namespace: Colore
Assembly: Colore.dll
Syntax
public class ColoreException : Exception
Constructors
ColoreException()
Initializes a new instance of the ColoreException class.
Declaration
public ColoreException()
ColoreException(SerializationInfo, StreamingContext)
Initializes a new instance of the ColoreException class with serialized data.
Declaration
protected ColoreException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | The SerializationInfo that holds the serialized object data about the exception being thrown. |
StreamingContext | context | The StreamingContext that contains contextual information about the source or destination. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | The |
SerializationException | The class name is null or HResult is zero (0). |
ColoreException(String)
Initializes a new instance of the ColoreException class.
Declaration
public ColoreException(string message)
Parameters
Type | Name | Description |
---|---|---|
String | message | Message describing the exception. |
ColoreException(String, Exception)
Initializes a new instance of the ColoreException class.
Declaration
public ColoreException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
String | message | Exception message. |
Exception | innerException | Inner exception object. |