예제 #1
0
 private void Initialize(int eventId, PackagingExceptionType errorType)
 {
     this.Data.Add("EventId", eventId);
     this.ErrorType = errorType;
 }
예제 #2
0
 public PackagingException(int eventId, PackagingExceptionType errorType = PackagingExceptionType.NotDefined)
 {
     Initialize(eventId, errorType);
 }
예제 #3
0
 public PackagingException(int eventId, string message, Exception inner, PackagingExceptionType errorType = PackagingExceptionType.NotDefined) : base(message, inner)
 {
     Initialize(eventId, errorType);
 }
예제 #4
0
 public PackagingException(PackagingExceptionType errorType = PackagingExceptionType.NotDefined)
 {
     Initialize(EventId.Packaging, errorType);
 }
예제 #5
0
 public PackagingException(string message, PackagingExceptionType errorType = PackagingExceptionType.NotDefined) : base(message)
 {
     Initialize(EventId.Packaging, errorType);
 }
예제 #6
0
 public PackagePreconditionException(string message, Exception inner, PackagingExceptionType errorType = PackagingExceptionType.NotDefined) : base(EventId.Packaging, message, inner, errorType)
 {
 }
예제 #7
0
 public InvalidPackageException(string message, Exception inner, PackagingExceptionType errorType = PackagingExceptionType.NotDefined) : base(EventId.Packaging, message, inner, errorType)
 {
 }
 public InvalidParameterException(string message, Exception inner, PackagingExceptionType errorType = PackagingExceptionType.InvalidParameter) : base(message, inner, errorType)
 {
 }
 public InvalidParameterException(PackagingExceptionType errorType = PackagingExceptionType.InvalidParameter) : base(errorType)
 {
 }
 public InvalidStepParameterException(string message, PackagingExceptionType errorType = PackagingExceptionType.InvalidStepParameter) : base(message, errorType)
 {
 }