Show / Hide Table of Contents

    Class NMSException

    Represents an NMS exception

    Inheritance
    System.Object
    System.Exception
    NMSException
    IllegalStateException
    InvalidClientIDException
    InvalidDestinationException
    InvalidSelectorException
    MessageEOFException
    MessageFormatException
    MessageNotReadableException
    MessageNotWriteableException
    NMSConnectionException
    NMSSecurityException
    ResourceAllocationException
    TransactionInProgressException
    TransactionRolledBackException
    Implements
    System.Runtime.Serialization.ISerializable
    Inherited Members
    System.Exception.GetBaseException()
    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: Apache.NMS
    Assembly: Apache.NMS.dll
    Syntax
    [Serializable]
    public class NMSException : Exception, ISerializable

    Constructors

    | Improve this Doc View Source

    NMSException()

    Declaration
    public NMSException()
    | Improve this Doc View Source

    NMSException(SerializationInfo, StreamingContext)

    Initializes a new instance of the NMSException class with serialized data. Throws System.ArgumentNullException if the info parameter is null. Throws System.Runtime.Serialization.SerializationException if the class name is null or System.Exception.HResult is zero (0).

    Declaration
    protected NMSException(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info

    The SerializationInfo that holds the serialized object data about the exception being thrown.

    System.Runtime.Serialization.StreamingContext context

    The StreamingContext that contains contextual information about the source or destination.

    | Improve this Doc View Source

    NMSException(String)

    Declaration
    public NMSException(string message)
    Parameters
    Type Name Description
    System.String message
    | Improve this Doc View Source

    NMSException(String, Exception)

    Declaration
    public NMSException(string message, Exception innerException)
    Parameters
    Type Name Description
    System.String message
    System.Exception innerException
    | Improve this Doc View Source

    NMSException(String, String)

    Declaration
    public NMSException(string message, string errorCode)
    Parameters
    Type Name Description
    System.String message
    System.String errorCode
    | Improve this Doc View Source

    NMSException(String, String, Exception)

    Declaration
    public NMSException(string message, string errorCode, Exception innerException)
    Parameters
    Type Name Description
    System.String message
    System.String errorCode
    System.Exception innerException

    Fields

    | Improve this Doc View Source

    exceptionErrorCode

    Declaration
    protected string exceptionErrorCode
    Field Value
    Type Description
    System.String

    Properties

    | Improve this Doc View Source

    ErrorCode

    Returns the error code for the exception, if one has been provided.

    Declaration
    public string ErrorCode { get; }
    Property Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    GetObjectData(SerializationInfo, StreamingContext)

    When overridden in a derived class, sets the SerializationInfo with information about the exception.

    Declaration
    public override void GetObjectData(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info

    The SerializationInfo that holds the serialized object data about the exception being thrown.

    System.Runtime.Serialization.StreamingContext context

    The StreamingContext that contains contextual information about the source or destination.

    Overrides
    System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)

    Implements

    System.Runtime.Serialization.ISerializable
    • Improve this Doc
    • View Source
    Back to top Copyright © 2005-2019 Apache Software Foundation project
    Generated by DocFX