Click or drag to resize

ArticyApiException Class

The standard exception used when the API has found an expected error
Inheritance Hierarchy

Namespace:  Articy.Api
Assembly:  PublicApiTypes (in PublicApiTypes.dll) Version: 1.0.0
Syntax
C#
[SerializableAttribute]
public class ArticyApiException : Exception

The ArticyApiException type exposes the following members.

Constructors
  NameDescription
Public methodArticyApiException(Int32)
Create an API exception with a specific error code
Public methodArticyApiException(ErrorCode)
Create an API exception with a specific error code
Public methodArticyApiException(Int32, Exception)
Create an API exception with a specific error code
Public methodArticyApiException(Int32, String)
Create an API exception with a specific error code
Public methodArticyApiException(ErrorCode, Exception)
Create an API exception with a specific error code
Public methodArticyApiException(ErrorCode, String)
Create an API exception with a specific error code
Public methodArticyApiException(Int32, String, Exception)
Create an API exception with a specific error code
Public methodArticyApiException(ErrorCode, String, Exception)
Create an API exception with a specific error code
Top
Properties
  NameDescription
Public propertyErrorCode
The error code this exception encapsulates, upper 16 bit are facility code, lower 16 bits are the error number within that facility
Public propertyErrorNumber
Getter that extracts the error number from the ErrorCode
Public propertyFacilityCode
Getter that extracts the facility from the ErrorCode
Public propertyMessage
The formatted message of this exception
(Overrides ExceptionMessage.)
Top
See Also