public AssemblyToolKernelException(ErrorCode[] errorCodes, AssemblyToolKernelException innerexception) : base("Meerdere fouten zijn opgetreden", innerexception)
 {
     Code = errorCodes;
 }
 public AssemblyToolKernelException(ErrorCode errorCode, AssemblyToolKernelException innerexception) : base(errorCode.GetMessage(), innerexception)
 {
     Code = new[] { errorCode };
 }