Class BaseException
The BaseException class is the base class for all exceptions within the PC SDK.
Inheritance
System.Object
System.Exception
BaseException
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
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: ABB.Robotics
Assembly: ABB.Robotics.Controllers.PC.dll
Syntax
public abstract class BaseException : Exception, ISerializable, _Exception
Constructors
BaseException()
Overloaded constructor.
Declaration
protected BaseException()
BaseException(SerializationInfo, StreamingContext)
Deserialization constructor.
Declaration
protected BaseException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | See .NET documentation. |
System.Runtime.Serialization.StreamingContext | context | See .NET documentation. |
BaseException(String)
Overloaded constructor.
Declaration
protected BaseException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message of the exception. |
BaseException(String, Exception)
Overloaded constructor.
Declaration
protected BaseException(string message, Exception exception)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message of the exception. |
System.Exception | exception | Inner exception. |
Properties
ExtendedErrorInformation
Gets/Sets the extended error information.
Declaration
[Obsolete("No longer supported")]
public virtual string ExtendedErrorInformation { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Obsolete.
Methods
GetObjectData(SerializationInfo, StreamingContext)
Implements ISerializable interface.
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | See .NET documentation. |
System.Runtime.Serialization.StreamingContext | context | See .NET documentation. |
Overrides
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception