ArticyApiException Class

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

Definition

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

Constructors

ArticyApiException(ErrorCode) Create an API exception with a specific error code
ArticyApiException(Int32) Create an API exception with a specific error code
ArticyApiException(ErrorCode, Exception) Create an API exception with a specific error code
ArticyApiException(ErrorCode, String) Create an API exception with a specific error code
ArticyApiException(Int32, Exception) Create an API exception with a specific error code
ArticyApiException(Int32, String) Create an API exception with a specific error code
ArticyApiException(ErrorCode, String, Exception) Create an API exception with a specific error code
ArticyApiException(Int32, String, Exception) Create an API exception with a specific error code

Properties

DataGets a collection of key/value pairs that provide additional user-defined information about the exception.
(Inherited from Exception)
ErrorCode The error code this exception encapsulates, upper 16 bit are facility code, lower 16 bits are the error number within that facility
ErrorNumber Getter that extracts the error number from the ErrorCode
FacilityCode Getter that extracts the facility from the ErrorCode
HelpLinkGets or sets a link to the help file associated with this exception.
(Inherited from Exception)
HResultGets or sets HRESULT, a coded numerical value that is assigned to a specific exception.
(Inherited from Exception)
InnerExceptionGets the Exception instance that caused the current exception.
(Inherited from Exception)
Message The formatted message of this exception
(Overrides ExceptionMessage)
SourceGets or sets the name of the application or the object that causes the error.
(Inherited from Exception)
StackTraceGets a string representation of the immediate frames on the call stack.
(Inherited from Exception)
TargetSiteGets the method that throws the current exception.
(Inherited from Exception)

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetBaseExceptionWhen overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions.
(Inherited from Exception)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetObjectDataWhen overridden in a derived class, sets the SerializationInfo with information about the exception.
(Inherited from Exception)
Obsolete
GetTypeGets the runtime type of the current instance.
(Inherited from Exception)
ToStringCreates and returns a string representation of the current exception.
(Inherited from Exception)

Extension Methods

TraceError
(Defined by TraceHelper)
TraceInfo
(Defined by TraceHelper)
TraceWarning
(Defined by TraceHelper)

See Also