Class InternalException
Exception thrown when an internal critical error occurs. This type of exception is used for errors that are considered critical and may require special handling.
Implements
Inherited Members
Namespace: Innovt.Cloud.AWS.Cognito.Exceptions
Assembly: Innovt.Cloud.AWS.Cognito.dll
Syntax
public class InternalException : CriticalException, ISerializable
Constructors
| Edit this page View SourceInternalException(Exception)
Initializes a new instance of the InternalException class with a reference to the inner exception that is the cause of this exception.
Declaration
public InternalException(Exception ex)
Parameters
Type | Name | Description |
---|---|---|
Exception | ex | The inner exception that is the cause of this exception. |
InternalException(SerializationInfo, StreamingContext)
Initializes a new instance of the InternalException class with serialized data.
Declaration
protected InternalException(SerializationInfo serializationInfo, StreamingContext streamingContext)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | serializationInfo | The SerializationInfo that holds the serialized object data about the exception being thrown. |
StreamingContext | streamingContext | The StreamingContext that contains contextual information about the source or destination. |
InternalException(string)
Initializes a new instance of the InternalException class with a specified error message.
Declaration
public InternalException(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message | The error message that describes the exception. |
InternalException(string, Exception)
Initializes a new instance of the InternalException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public InternalException(string message, Exception ex)
Parameters
Type | Name | Description |
---|---|---|
string | message | The error message that describes the exception. |
Exception | ex | The inner exception that is the cause of this exception. |