Ejemplo n.º 1
0
 private void Initialize(int eventId, PackagingExceptionType errorType)
 {
     this.Data.Add("EventId", eventId);
     this.ErrorType = errorType;
 }
Ejemplo n.º 2
0
 public PackagingException(int eventId, PackagingExceptionType errorType = PackagingExceptionType.NotDefined)
 {
     Initialize(eventId, errorType);
 }
Ejemplo n.º 3
0
 public PackagingException(int eventId, string message, Exception inner, PackagingExceptionType errorType = PackagingExceptionType.NotDefined) : base(message, inner)
 {
     Initialize(eventId, errorType);
 }
Ejemplo n.º 4
0
 public PackagingException(PackagingExceptionType errorType = PackagingExceptionType.NotDefined)
 {
     Initialize(EventId.Packaging, errorType);
 }
Ejemplo n.º 5
0
 public PackagingException(string message, PackagingExceptionType errorType = PackagingExceptionType.NotDefined) : base(message)
 {
     Initialize(EventId.Packaging, errorType);
 }
Ejemplo n.º 6
0
 public PackagePreconditionException(string message, Exception inner, PackagingExceptionType errorType = PackagingExceptionType.NotDefined) : base(EventId.Packaging, message, inner, errorType)
 {
 }
Ejemplo n.º 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)
 {
 }
Ejemplo n.º 10
0
 public InvalidStepParameterException(string message, PackagingExceptionType errorType = PackagingExceptionType.InvalidStepParameter) : base(message, errorType)
 {
 }