Class ParseErrorException | Serialization | 1.4.3-preview
docs.unity3d.com
    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
    Namespace: Unity.Serialization
    Syntax
    [Serializable]
    public class ParseErrorException : Exception, ISerializable, _Exception

    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.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023