using System;
|
|
|
|
namespace BWP.ABCClient.Exceptions
|
|
{
|
|
public class ResponseException : Exception
|
|
{
|
|
private readonly string _errorCode;
|
|
|
|
public ResponseException(string errorCode, string message)
|
|
: base(errorCode + ":" + message)
|
|
{
|
|
_errorCode = errorCode;
|
|
}
|
|
|
|
public string ErrorCode
|
|
{
|
|
get { return _errorCode; }
|
|
}
|
|
}
|
|
}
|