docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ParseErrorException

    The exception that is thrown when trying to parse a value as an actual type.

    Inheritance
    object
    Exception
    ParseErrorException
    Implements
    ISerializable
    Inherited Members
    Exception.GetBaseException()
    Exception.GetObjectData(SerializationInfo, StreamingContext)
    Exception.GetType()
    Exception.ToString()
    Exception.Data
    Exception.HelpLink
    Exception.HResult
    Exception.InnerException
    Exception.Message
    Exception.Source
    Exception.StackTrace
    Exception.TargetSite
    Exception.SerializeObjectState
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Serialization
    Assembly: Unity.Serialization.dll
    Syntax
    [Serializable]
    public class ParseErrorException : Exception, ISerializable

    Constructors

    ParseErrorException(SerializationInfo, StreamingContext)

    Initializes a new instance of the ParseErrorException class with serialized data.

    Declaration
    protected ParseErrorException(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    SerializationInfo info

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

    StreamingContext context

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

    ParseErrorException(string)

    Initialized a new instance of the ParseErrorException class with a specified error message.

    Declaration
    public ParseErrorException(string message)
    Parameters
    Type Name Description
    string message

    The message that describes the error.

    ParseErrorException(string, Exception)

    Initializes a new instance of the ParseErrorException class with a specified error message and a reference to the inner exception that is the cause of this exception.

    Declaration
    public ParseErrorException(string message, Exception inner)
    Parameters
    Type Name Description
    string message

    The message that describes the error.

    Exception inner

    The inner exception reference.

    Implements

    ISerializable
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)