%- project.commentHeader %>
namespace <%- project.namespace %>.Models
{
///
/// Exception thrown for an invalid response with <%-exception.schema.language.default.name%> information.
///
public partial class <%-exception.schema.language.default.name%>Exception : Microsoft.Rest.RestException
{
///
/// Gets information about the associated HTTP request.
///
public Microsoft.Rest.HttpRequestMessageWrapper Request { get; set; }
///
/// Gets information about the associated HTTP response.
///
public Microsoft.Rest.HttpResponseMessageWrapper Response { get; set; }
///
/// Gets or sets the body object.
///
public <%-exception.schema.language.default.name%> Body { get; set; }
///
/// Initializes a new instance of the <%-exception.schema.language.default.name%>Exception class.
///
public <%-exception.schema.language.default.name%>Exception()
{
}
///
/// Initializes a new instance of the <%-exception.schema.language.default.name%> class.
///
/// The exception message.
public <%-exception.schema.language.default.name%>Exception(string message)
: this(message, null)
{
}
///
/// Initializes a new instance of the <%-exception.schema.language.default.name%> class.
///
/// The exception message.
/// Inner exception.
public <%-exception.schema.language.default.name%>Exception(string message, System.Exception innerException)
: base(message, innerException)
{
}
}
}