Class GeneralException
Base exception type for all exceptions that are raised by the ABB.Robotics.ExceptionManager; and that supports lazy loading of the message.
Inheritance
object
GeneralException
Inherited Members
Namespace: ABB.Robotics
Assembly: ABB.Robotics.Controllers.PC.dll
Syntax
public abstract class GeneralException : BaseException, ISerializable, _Exception
Remarks
Mostly for internal use, external usage should be limited to try/catch( ... ) statements.
Constructors
View SourceGeneralException()
Initializes a general exception object.
Declaration
protected GeneralException()
GeneralException(SerializationInfo, StreamingContext)
Deserialization constructor.
Declaration
protected GeneralException(SerializationInfo info, StreamingContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| SerializationInfo | info | See .NET documentation. |
| StreamingContext | context | See .NET documentation. |
GeneralException(string)
Creates a general exception object.
Declaration
protected GeneralException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The message. |
GeneralException(string, Exception)
Creates a general exception object.
Declaration
protected GeneralException(string message, Exception innerException)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The Message. |
| Exception | innerException | The inner exception. |
Properties
View SourceMessage
Get the message.
Declaration
public override string Message { get; }
Property Value
| Type | Description |
|---|---|
| string |