Esempio n. 1
0
 /// <summary>
 /// Creates a new osc socket exception
 /// </summary>
 /// <param name="socket">The socket that this exception relates to</param>
 /// <param name="message">A message string</param>
 /// <param name="innerException">An inner exception</param>
 public OscSocketException(OscSocket socket, string message, Exception innerException)
     : base(message, innerException)
 {
     this.Socket = socket;
 }
Esempio n. 2
0
 /// <summary>
 /// Creates a new osc socket state exception
 /// </summary>
 /// <param name="socket">The socket that this exception relates to</param>
 /// <param name="state">The state the socket was in when the exception was thrown</param>
 /// <param name="message">A message string</param>
 /// <param name="innerException">An inner exception</param>
 public OscSocketStateException(OscSocket socket, OscSocketState state, string message, Exception innerException)
     : base(socket, message, innerException)
 {
     this.State = state;
 }
Esempio n. 3
0
 /// <summary>
 /// Creates a new osc socket exception
 /// </summary>
 /// <param name="socket">The socket that this exception relates to</param>
 /// <param name="message">A message string</param>
 public OscSocketException(OscSocket socket, string message)
     : base(message)
 {
     this.Socket = socket;
 }