Commit dba00219 authored by Nordin Rahman's avatar Nordin Rahman

Rename ProxyHttpException.SessionInfo to SessionEventArgs

parent 92e251f6
......@@ -7,6 +7,11 @@ namespace Titanium.Web.Proxy.Exceptions
/// </summary>
public abstract class ProxyException : Exception
{
/// <summary>
/// Instantiate this exception - must be invoked by derived classes' constructors
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
protected ProxyException(string message, Exception innerException) : base(message, innerException)
{
}
......
......@@ -13,10 +13,10 @@ namespace Titanium.Web.Proxy.Exceptions
/// </summary>
/// <param name="message">Message for this exception</param>
/// <param name="innerException">Associated inner exception</param>
/// <param name="sessionInfo">Instance of <see cref="SessionEventArgs"/> associated to the exception</param>
public ProxyHttpException(string message, Exception innerException, SessionEventArgs sessionInfo) : base(message, innerException)
/// <param name="sessionEventArgs">Instance of <see cref="EventArguments.SessionEventArgs"/> associated to the exception</param>
public ProxyHttpException(string message, Exception innerException, SessionEventArgs sessionEventArgs) : base(message, innerException)
{
SessionInfo = sessionInfo;
SessionEventArgs = sessionEventArgs;
}
/// <summary>
......@@ -25,6 +25,6 @@ namespace Titanium.Web.Proxy.Exceptions
/// <remarks>
/// This object should not be edited
/// </remarks>
public SessionEventArgs SessionInfo { get; }
public SessionEventArgs SessionEventArgs { get; }
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment