Class ArasException
Represents AML query errors
Inheritance
System.Object
System.Exception
ArasException
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
Namespace: BitAddict.Aras
Assembly: BitAddict.Aras.dll
Syntax
public class ArasException : Exception, ISerializable, _Exception
Constructors
ArasException(Item)
Create exception from AML error Item. Sets ResultItem.
Declaration
public ArasException(Item resultItem)
Parameters
Type | Name | Description |
---|---|---|
Aras.IOM.Item | resultItem |
ArasException(String)
Create exception with message
Declaration
public ArasException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message |
ArasException(String, Exception)
Create when Aras query fails due to another exception
Declaration
public ArasException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | |
System.Exception | innerException |
Properties
ResultItem
Item returned from Aaras that contains the error cause
Declaration
[CanBeNull]
public Item ResultItem { get; set; }
Property Value
Type | Description |
---|---|
Aras.IOM.Item |
SourceItem
Source item that caused error
Declaration
[CanBeNull]
public Item SourceItem { get; set; }
Property Value
Type | Description |
---|---|
Aras.IOM.Item |
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception