Class CriticalException
Inheritance
CriticalException
Implements
Inherited Members
Namespace: Innovt.Core.Exceptions
Assembly: Innovt.Core.dll
Syntax
[Serializable]
public class CriticalException : BaseException, ISerializable
Constructors
| Edit this page View SourceCriticalException(Exception)
Initializes a new instance of the CriticalException class with a specified inner exception.
Declaration
public CriticalException(Exception ex)
Parameters
Type | Name | Description |
---|---|---|
Exception | ex | The inner exception that caused the critical issue. |
CriticalException(SerializationInfo, StreamingContext)
Initializes a new instance of the CriticalException class with serialized data.
Declaration
protected CriticalException(SerializationInfo serializationInfo, StreamingContext streamingContext)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | serializationInfo | The SerializationInfo containing serialized object data. |
StreamingContext | streamingContext | The StreamingContext representing the source or destination of the serialized data. |
CriticalException(string)
Initializes a new instance of the CriticalException class with a specified error message.
Declaration
public CriticalException(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message | The error message that describes the critical issue. |
CriticalException(string, Exception)
Initializes a new instance of the CriticalException class with a specified error message and inner exception.
Declaration
public CriticalException(string message, Exception ex)
Parameters
Type | Name | Description |
---|---|---|
string | message | The error message that describes the critical issue. |
Exception | ex | The inner exception that caused the critical issue. |