Search Results for

    Show / Hide Table of Contents

    Class JsonDataException

    • C#
    • Visual Basic
    [Serializable]
    public class JsonDataException : Exception, ISerializable, _Exception
    <Serializable>
    Public Class JsonDataException
        Inherits Exception
        Implements ISerializable, _Exception
    Inheritance
    System.Object
    System.Exception
    JsonDataException
    Implements
    System.Runtime.Serialization.ISerializable
    System.Runtime.InteropServices._Exception
    Inherited Members
    System.Exception.GetBaseException()
    System.Exception.ToString()
    System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
    System.Exception.InternalToString()
    System.Exception.GetType()
    System.Exception.Message
    System.Exception.Data
    System.Exception.InnerException
    System.Exception.TargetSite
    System.Exception.StackTrace
    System.Exception.HelpLink
    System.Exception.Source
    System.Exception.HResult
    System.Exception.SerializeObjectState
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.MemberwiseClone()
    Namespace: HomeSeer.Jui.Views
    Assembly: PluginSdk.dll


    The exception thrown when there is a problem serializing/deserializing JSON data


    Constructors

    View Source

    JsonDataException()

    Create an exception with the default message

    Declaration
    • C#
    • Visual Basic
    public JsonDataException()
    Public Sub New
    View Source

    JsonDataException(Exception)

    Create an exception with the default message that wraps another exception

    Declaration
    • C#
    • Visual Basic
    public JsonDataException(Exception innerException)
    Public Sub New(innerException As Exception)
    Parameters
    Type Name Description
    System.Exception innerException

    The exception to wrap

    View Source

    JsonDataException(SerializationInfo, StreamingContext)

    Special constructor used for deserialization. This is mandatory in order for HSCF to be able to deserialize this exception.

    Declaration
    • C#
    • Visual Basic
    protected JsonDataException(SerializationInfo info, StreamingContext context)
    Protected Sub New(info As SerializationInfo, context As StreamingContext)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info

    The data to deserialize from

    System.Runtime.Serialization.StreamingContext context

    The context of the source stream

    View Source

    JsonDataException(String)

    Create an exception with a message

    Declaration
    • C#
    • Visual Basic
    public JsonDataException(string message)
    Public Sub New(message As String)
    Parameters
    Type Name Description
    System.String message

    The message to include with the exception

    View Source

    JsonDataException(String, Exception)

    Create an exception wrapping another exception with a message

    Declaration
    • C#
    • Visual Basic
    public JsonDataException(string message, Exception innerException)
    Public Sub New(message As String, innerException As Exception)
    Parameters
    Type Name Description
    System.String message

    The message to include with the exception

    System.Exception innerException

    The exception to wrap

    Implements

    System.Runtime.Serialization.ISerializable
    System.Runtime.InteropServices._Exception
    • View Source
    In This Article
    Back to top HomeSeer Technologies