Provides a MAMA API-specific exception which captures the status code of the last MAMA API call and a textual description of the error.
Inherits from Exception
Name | |
---|---|
MamaException(MamaStatus.mamaStatus status) Constructs a new MamaException with the specified status code. Automatically populates the textual description of the error. |
|
MamaException(MamaStatus.mamaStatus status, string message) Constructs a new MamaException with the specified status code and a custom error message. |
|
override void | GetObjectData(SerializationInfo info, StreamingContext context) |
Name | |
---|---|
MamaException(SerializationInfo info, StreamingContext context) |
Name | |
---|---|
MamaStatus.mamaStatus | Status Returns the MAMA status code. |
MamaException(
MamaStatus.mamaStatus status
)
Constructs a new MamaException with the specified status code. Automatically populates the textual description of the error.
Parameters:
MamaException(
MamaStatus.mamaStatus status,
string message
)
Constructs a new MamaException with the specified status code and a custom error message.
Parameters:
override void GetObjectData(
SerializationInfo info,
StreamingContext context
)
MamaException(
SerializationInfo info,
StreamingContext context
)
MamaStatus.mamaStatus Status;
Returns the MAMA status code.
Updated on 2023-03-31 at 15:29:32 +0100