|
// -- FILE ------------------------------------------------------------------
// name : UserFormAdapterException.cs
// project : Itenso Web User Forms
// created : Jani Giannoudis - 2008.10.30
// language : c#
// environment: .NET 2.0
// copyright : (c) 2008-2012 by Itenso GmbH, Switzerland
// --------------------------------------------------------------------------
using System;
using Itenso.WebUserForms.Data.Form;
using Itenso.WebUserForms.Controls;
namespace Itenso.WebUserForms.Runtime
{
// ------------------------------------------------------------------------
public class UserFormAdapterException : Exception
{
// ----------------------------------------------------------------------
public UserFormAdapterException()
{
} // UserFormAdapterException
// ----------------------------------------------------------------------
public UserFormAdapterException( string message, IUserForm userForm, IForm formData ) :
base( message )
{
this.userForm = userForm;
this.formData = formData;
} // UserFormAdapterException
// ----------------------------------------------------------------------
public IUserForm UserForm
{
get { return this.userForm; }
} // UserForm
// ----------------------------------------------------------------------
public IForm FormData
{
get { return this.formData; }
} // FormData
// ----------------------------------------------------------------------
// members
private readonly IUserForm userForm;
private readonly IForm formData;
} // class UserFormAdapterException
} // namespace Itenso.WebUserForms.Runtime
// -- EOF -------------------------------------------------------------------
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
👨 Senior .NET Software Engineer
🚀 My Open Source Projects
-
Time Period Library 👉
GitHub
-
Payroll Engine 👉
GitHub
Feedback and contributions are welcome.