Classes Files

Wombat::MamaException

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

Public Functions

  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)

Protected Functions

  Name
  MamaException(SerializationInfo info, StreamingContext context)

Public Properties

  Name
MamaStatus.mamaStatus Status
Returns the MAMA status code.

Public Functions Documentation

function MamaException

MamaException(
    MamaStatus.mamaStatus status
)

Constructs a new MamaException with the specified status code. Automatically populates the textual description of the error.

Parameters:

  • status the MAMA status code

function MamaException

MamaException(
    MamaStatus.mamaStatus status,
    string message
)

Constructs a new MamaException with the specified status code and a custom error message.

Parameters:

  • status the MAMA status code
  • message the custom error message

function GetObjectData

override void GetObjectData(
    SerializationInfo info,
    StreamingContext context
)

Protected Functions Documentation

function MamaException

MamaException(
    SerializationInfo info,
    StreamingContext context
)

Public Property Documentation

property Status

MamaStatus.mamaStatus Status;

Returns the MAMA status code.


Updated on 2023-03-31 at 15:29:32 +0100