Class GeneralException
Base exception type for all exceptions that are raised by the ExceptionManager; and that supports lazy loading of the message.
Inheritance
System.Object
System.Exception
GeneralException
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetType()
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 GeneralException : BaseException, ISerializable, _Exception
Remarks
Mostly for internal use, external usage should be limited to try/catch( ... ) statements.
Constructors
GeneralException()
Initializes a general exception object.
Declaration
protected GeneralException()
GeneralException(SerializationInfo, StreamingContext)
Deserialization constructor.
Declaration
protected GeneralException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | See .NET documentation. |
System.Runtime.Serialization.StreamingContext | context | See .NET documentation. |
GeneralException(String)
Creates a general exception object.
Declaration
protected GeneralException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message. |
GeneralException(String, Exception)
Creates a general exception object.
Declaration
protected GeneralException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The Message. |
System.Exception | innerException | The inner exception. |
Properties
Message
Get the message.
Declaration
public override string Message { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
System.Exception.Message
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception