| 123456789101112131415161718192021222324252627282930 |
- using System;
- namespace MAX
- {
- public class MAXException : Exception
- {
- private int _errorCode;
- public MAXException() { }
- public MAXException(int errorCode, string message)
- : base(message)
- {
- _errorCode = errorCode;
- }
- public MAXException(int errorCode, string message, Exception innerException)
- : base(message, innerException)
- {
- _errorCode = errorCode;
- }
- public int ErrorCode
- {
- get { return _errorCode; }
- set { _errorCode = value; }
- }
- }
- }
|