예제 #1
0
 /// <summary>
 /// Creates a new instance of the <see cref="NJException"/> class
 /// </summary>
 /// <param name="ErrorCode">The error code of this exception</param>
 public NJException(NJErrorCode ErrorCode)
     : base(ErrorCode.ToString())
 {
     _ErrorCode = ErrorCode;
 }
예제 #2
0
 /// <summary>
 /// Creates a new instance of the <see cref="NJException"/> class
 /// </summary>
 /// <param name="ErrorCode">The error code of this exception</param>
 public NJException(NJErrorCode ErrorCode)
     : base(ErrorCode.ToString())
 {
     _ErrorCode = ErrorCode;
 }