J-Integra® Espresso Programming Documentation (API)

COMM_FAILURE Constructors

 COMM_FAILURE();

Constructs a COMM_FAILURE exception with a default minor code of 0 and a completion state of COMPLETED_NO.

Parameters

none

 COMM_FAILURE( string msg );

Constructs a COMM_FAILURE exception with the specified detail message, a minor code of 0 and a completion state of COMPLETED_NO.

Parameters

msg
a string containing a detail message.

 COMM_FAILURE( int minor, CompletionStatus completed );

Constructs a COMM_FAILURE exception with the specified minor code and completion status.

Parameters

minor
the minor code.
completed
an instance of CompletionStatus indicating the completion status.

 COMM_FAILURE( string msg, int minor, CompletionStatus completed );

Constructs a COMM_FAILURE exception with the specified detail message, minor code, and completion status.

Parameters

msg
a string containing a detail message.
minor
the minor code.
completed
an instance of CompletionStatus indicating the completion status.

See Also

COMM_FAILURE Class | COMM_FAILURE Members | Ics Namespace