Class MaestroException
Represents the base class of all exceptions that can be thrown from the Maestro API
Inheritance
System.Object
System.Exception
MaestroException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: OSGeo.MapGuide.MaestroAPI.Exceptions
Assembly: OSGeo.MapGuide.MaestroAPI.dll
Syntax
[Serializable]
public class MaestroException : Exception, ISerializable
Constructors
| Improve this Doc View SourceMaestroException()
Initializes a new instance of the MaestroException class.
Declaration
public MaestroException()
MaestroException(SerializationInfo, StreamingContext)
Initializes a new instance of the MaestroException class.
Declaration
protected MaestroException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext | context | The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The |
System.Runtime.Serialization.SerializationException | The class name is null or System.Exception.HResult is zero (0). |
MaestroException(String)
Initializes a new instance of the MaestroException class.
Declaration
public MaestroException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message. |
MaestroException(String, Exception)
Initializes a new instance of the MaestroException class.
Declaration
public MaestroException(string message, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message. |
System.Exception | inner | The inner. |
Implements
System.Runtime.Serialization.ISerializable