AR Design
UBC EML collab with UBC SALA - visualizing IoT data in AR
Exceptions.cs
Go to the documentation of this file.
1 using System;
2 using UnityEngine.Networking;
3 
4 namespace UnityGLTF
5 {
6  [Serializable()]
7  public class WebRequestException : Exception
8  {
9  public WebRequestException() : base() { }
10  public WebRequestException(string message) : base(message) { }
11  public WebRequestException(string message, Exception inner) : base(message, inner) { }
12  public WebRequestException(UnityWebRequest www) : base(string.Format("Error: {0} when requesting: {1}", www.responseCode, www.url)) { }
13 #if !WINDOWS_UWP
14  protected WebRequestException(System.Runtime.Serialization.SerializationInfo info,
15  System.Runtime.Serialization.StreamingContext context)
16  { }
17 #endif
18  }
19 }
WebRequestException(string message)
Definition: Exceptions.cs:10
WebRequestException(string message, Exception inner)
Definition: Exceptions.cs:11
WebRequestException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
Definition: Exceptions.cs:14
WebRequestException(UnityWebRequest www)
Definition: Exceptions.cs:12