[This is preliminary documentation and is subject to change.]
Constructs a SifException for delivery to the ZIS.
| C# | Visual Basic | Visual C++ |
public SifException( SifErrorCategoryCode category, int code, string desc, IZone zone, Exception innerException )
Public Sub New ( _ category As SifErrorCategoryCode, _ code As Integer, _ desc As String, _ zone As IZone, _ innerException As Exception _ )
public: SifException ( SifErrorCategoryCode category, int code, String^ desc, IZone^ zone, Exception^ innerException )
- category (SifErrorCategoryCode)
- A SifErrorCategoryCode. error category
- code (Int32)
- A SifErrorCodes error code
- desc (String)
- The error description
- zone (IZone)
- The zone on which the error occurred
- innerException (Exception)
- The exception that is being handled by the agent
The Adk will include
the error information provided by the exception when it sends a SIF_Ack
in response to the message being processed. This form of constructor is
typically called by the Adk, but may also be called by agent code if an
exception occurs in a Publisher, Subscriber, or QueryResults
message handler implementation.