Class BaseException
The BaseException class is the base class for all exceptions within the PC SDK.
Inheritance
BaseException
Inherited Members
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 |
---|---|---|
SerializationInfo | info | See .NET documentation. |
StreamingContext | context | See .NET documentation. |
BaseException(String)
Overloaded constructor.
Declaration
protected BaseException(string message)
Parameters
Type | Name | Description |
---|---|---|
String | message | The message of the exception. |
BaseException(String, Exception)
Overloaded constructor.
Declaration
protected BaseException(string message, Exception exception)
Parameters
Type | Name | Description |
---|---|---|
String | message | The message of the exception. |
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 |
---|---|
String |
Remarks
Obsolete.
Methods
GetObjectData(SerializationInfo, StreamingContext)
Implements ISerializable interface.
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | See .NET documentation. |
StreamingContext | context | See .NET documentation. |