2012-08-09 09:45:04 +00:00
|
|
|
#region Using Statements
|
2012-03-26 08:27:29 +00:00
|
|
|
using System;
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
2012-08-09 09:45:04 +00:00
|
|
|
// This file is part of the ANX.Framework created by the
|
|
|
|
// "ANX.Framework developer group" and released under the Ms-PL license.
|
|
|
|
// For details see: http://anxframework.codeplex.com/license
|
2012-03-26 08:27:29 +00:00
|
|
|
|
2012-08-09 09:45:04 +00:00
|
|
|
#if WINDOWSMETRO
|
2012-03-26 08:27:29 +00:00
|
|
|
namespace ANX.Framework
|
|
|
|
{
|
|
|
|
public class ExternalException : Exception
|
|
|
|
{
|
|
|
|
private int errorCode;
|
|
|
|
|
|
|
|
public ExternalException()
|
|
|
|
: base()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
public ExternalException(String message)
|
|
|
|
: base(message)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
public ExternalException(String message, Exception inner)
|
|
|
|
: base(message, inner)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
public ExternalException(String message, int errorCode)
|
|
|
|
: base(message)
|
|
|
|
{
|
|
|
|
this.errorCode = errorCode;
|
|
|
|
}
|
|
|
|
|
|
|
|
public int ErrorCode
|
|
|
|
{
|
|
|
|
get
|
|
|
|
{
|
|
|
|
return this.errorCode;
|
|
|
|
}
|
|
|
|
set
|
|
|
|
{
|
|
|
|
this.errorCode = value;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|