Files
UmaViewer/Assets/Plugins/UnityGLTF/Runtime/Plugins/GLTFSerialization/Exceptions.cs
T
左右看 0d848e4d07 bug fix
2023-06-28 00:35:46 +08:00

41 lines
1.3 KiB
C#

using System;
namespace GLTF
{
public class GLTFHeaderInvalidException : Exception
{
public GLTFHeaderInvalidException() : base() { }
public GLTFHeaderInvalidException(string message) : base(message) { }
public GLTFHeaderInvalidException(string message, Exception inner) : base(message, inner) { }
#if !WINDOWS_UWP
protected GLTFHeaderInvalidException(System.Runtime.Serialization.SerializationInfo info,
System.Runtime.Serialization.StreamingContext context)
{ }
#endif
}
public class GLTFParseException : Exception
{
public GLTFParseException() : base() { }
public GLTFParseException(string message) : base(message) { }
public GLTFParseException(string message, Exception inner) : base(message, inner) { }
#if !WINDOWS_UWP
protected GLTFParseException(System.Runtime.Serialization.SerializationInfo info,
System.Runtime.Serialization.StreamingContext context)
{ }
#endif
}
public class GLTFLoadException : Exception
{
public GLTFLoadException() : base() { }
public GLTFLoadException(string message) : base(message) { }
public GLTFLoadException(string message, Exception inner) : base(message, inner) { }
#if !WINDOWS_UWP
protected GLTFLoadException(System.Runtime.Serialization.SerializationInfo info,
System.Runtime.Serialization.StreamingContext context)
{ }
#endif
}
}