Class CustomHandledException
Represents an exception which has been created during custom handling of an unhandled exception.
Implements
Namespace: Sartorius.SAF.ExceptionHandling
Assembly: Sartorius.SAF.dll
Syntax
[Serializable]
public class CustomHandledException : Exception, ISerializable
Constructors
View SourceCustomHandledException()
Create a new instance of CustomHandledException.
Declaration
public CustomHandledException()
CustomHandledException(string)
Create a new instance of CustomHandledException.
Declaration
public CustomHandledException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The error message that explains the reason for the exception. |
CustomHandledException(string, Exception)
Initializes a new instance of the CustomHandledException class.
Declaration
public CustomHandledException(string message, Exception innerException)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The error message that explains the reason for the exception. |
| Exception | innerException | The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. |