[Modify] Edit it
This commit is contained in:
parent
eda5f38d0b
commit
26567a53d3
@ -384,19 +384,21 @@ namespace WebSocketSharp.Server
|
|||||||
#region Protected Methods
|
#region Protected Methods
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Calls the <see cref="OnError"/> method with the specified <paramref name="message"/> and
|
/// Calls the <see cref="OnError"/> method with the specified message.
|
||||||
/// <paramref name="exception"/>.
|
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <remarks>
|
|
||||||
/// This method doesn't call the <see cref="OnError"/> method if <paramref name="message"/> is
|
|
||||||
/// <see langword="null"/> or empty.
|
|
||||||
/// </remarks>
|
|
||||||
/// <param name="message">
|
/// <param name="message">
|
||||||
/// A <see cref="string"/> that represents the error message.
|
/// A <see cref="string"/> that represents the error message.
|
||||||
/// </param>
|
/// </param>
|
||||||
/// <param name="exception">
|
/// <param name="exception">
|
||||||
/// An <see cref="Exception"/> instance that represents the cause of the error if any.
|
/// An <see cref="Exception"/> instance that represents the cause of
|
||||||
|
/// the error if present.
|
||||||
/// </param>
|
/// </param>
|
||||||
|
/// <exception cref="ArgumentNullException">
|
||||||
|
/// <paramref name="message"/> is <see langword="null"/>.
|
||||||
|
/// </exception>
|
||||||
|
/// <exception cref="ArgumentException">
|
||||||
|
/// <paramref name="message"/> is an empty string.
|
||||||
|
/// </exception>
|
||||||
protected void Error (string message, Exception exception)
|
protected void Error (string message, Exception exception)
|
||||||
{
|
{
|
||||||
if (message == null)
|
if (message == null)
|
||||||
|
Loading…
Reference in New Issue
Block a user