Exemplo 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;
 }
Exemplo 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;
 }
Exemplo 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;
 }